summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll')
-rw-r--r--src/main/java/ftbsc/lll/processor/LilleroProcessor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
index d94d44d..a965068 100644
--- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
+++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
@@ -329,8 +329,8 @@ public class LilleroProcessor extends AbstractProcessor {
for(Modifier mod : targetMethod.getModifiers())
b.addStatement("bd.addModifier($L)", mapModifier(mod));
- for(TypeParameterElement p : targetMethod.getTypeParameters())
- b.addStatement("bd.addParameter($T.class)", p.asType());
+ for(VariableElement p : targetMethod.getParameters())
+ b.addStatement("bd.addParameter($T.class)",p.asType());
b.addStatement("bd.setReturnType($T.class)", targetMethod.getReturnType());
b.addStatement("return bd.build()");