fix: builder too

This commit is contained in:
zaaarf 2023-03-18 20:16:29 +01:00
parent 79f28d077c
commit 3affc40b51
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -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)
); );