diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-18 20:16:29 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-18 20:16:29 +0100 |
commit | 3affc40b514336a497d157a3e03c98931dfd3edf (patch) | |
tree | b17f6a51a4903b493bf65ed5a28581767f70d175 /src/main | |
parent | 79f28d077caa1964436328c63e108e838e96329a (diff) |
fix: builder too
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/ftbsc/lll/processor/LilleroProcessor.java | 2 |
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) ); |