From 673b5064e71a00791ff872e66a6a96fe2951d3d1 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Tue, 11 Apr 2023 13:29:21 +0200 Subject: [PATCH] fix: do not reset injector counter every time --- src/main/java/ftbsc/lll/processor/LilleroProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 matchedInjectors = new HashSet<>(); HashSet matchedMethodFinders = new HashSet<>(); + int iterationNumber = 1; for(ExecutableElement tg : targets) { Target[] mtgAnn = tg.getAnnotationsByType(Target.class); - int iterationNumber = 1; for(Target targetAnn : mtgAnn) { List injectorCandidates = injectors; List finderCandidates = methodFinders;