summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-04-11 13:29:21 +0200
committer zaaarf <zaaarf@proton.me>2023-04-11 13:29:21 +0200
commit673b5064e71a00791ff872e66a6a96fe2951d3d1 (patch)
tree15e188c08d47c3ffd065616020a1655444607429 /src/main/java/ftbsc
parent1303948c94ce6dc12d8acedf99f8819c716ad52c (diff)
fix: do not reset injector counter every time
Diffstat (limited to 'src/main/java/ftbsc')
-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 098a75a..9f1b996 100644
--- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
+++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
@@ -258,9 +258,9 @@ public class LilleroProcessor extends AbstractProcessor {
HashSet<ExecutableElement> matchedInjectors = new HashSet<>();
HashSet<VariableElement> matchedMethodFinders = new HashSet<>();
+ int iterationNumber = 1;
for(ExecutableElement tg : targets) {
Target[] mtgAnn = tg.getAnnotationsByType(Target.class);
- int iterationNumber = 1;
for(Target targetAnn : mtgAnn) {
List<ExecutableElement> injectorCandidates = injectors;
List<VariableElement> finderCandidates = methodFinders;