summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/ftbsc/lll/processor/LilleroProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
index 2457e83..b68eddd 100644
--- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
+++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
@@ -330,7 +330,7 @@ public class LilleroProcessor extends AbstractProcessor {
String methodDescriptor = isMethod ? descriptorFromExecutableElement((ExecutableElement) target) : null;
b.addStatement("$T bd = $T.builder($S)",
- MethodProxy.Builder.class,
+ isMethod ? MethodProxy.Builder.class : FieldProxy.Builder.class,
isMethod ? MethodProxy.class : FieldProxy.class,
findMemberName(targetParentFQN, target.getSimpleName().toString(), methodDescriptor, mapper)
);