You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Processor fails with 'Unexpected type mirror: ?' on wildcard type arguments #435
The processor fails on any setter or constructor parameter whose type has a wildcard argument, e.g. setCodeArguments(List<MethodCodePlaceholder<?>> codeArguments):
warning: simple-builders: Failed to generate target - Unexpected type mirror: ?
The whole target is dropped. JavaLangMapper.extractType() has no WildcardType case, so defaultAction() throws. The codegen model has no wildcard type either, so Roaster cannot render one.
Found while generating the codegen DTO builders (#415 / #429): CodeTemplateDto, MethodCodeDto and JavadocCodeBlockDto could not get builders once they had collection setters.
Expected:?, ? extends X and ? super X are mapped, and the exact type shows in the generated setter/supplier/consumer signatures (e.g. List<Foo<?>>, List<? extends Number>).
Activity
fix: support wildcard type arguments in the processor (#435) (#436)