mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 15:54:48 +01:00
fix: builder too
This commit is contained in:
parent
79f28d077c
commit
3affc40b51
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ public class LilleroProcessor extends AbstractProcessor {
|
||||||
String methodDescriptor = isMethod ? descriptorFromExecutableElement((ExecutableElement) target) : null;
|
String methodDescriptor = isMethod ? descriptorFromExecutableElement((ExecutableElement) target) : null;
|
||||||
|
|
||||||
b.addStatement("$T bd = $T.builder($S)",
|
b.addStatement("$T bd = $T.builder($S)",
|
||||||
MethodProxy.Builder.class,
|
isMethod ? MethodProxy.Builder.class : FieldProxy.Builder.class,
|
||||||
isMethod ? MethodProxy.class : FieldProxy.class,
|
isMethod ? MethodProxy.class : FieldProxy.class,
|
||||||
findMemberName(targetParentFQN, target.getSimpleName().toString(), methodDescriptor, mapper)
|
findMemberName(targetParentFQN, target.getSimpleName().toString(), methodDescriptor, mapper)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue