aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-05-26 16:11:05 +0200
committer zaaarf <zaaarf@proton.me>2023-05-26 16:11:05 +0200
commitc83c5eabef712ad8f221e3b6ff4e678931e942ab (patch)
tree36c5081242372b0eb48733adf0735d9f560cdde0 /src/main/java/ftbsc/lll/processor/LilleroProcessor.java
parent5c2d780acbae1a7786d9c47711d3bf7e7670d7c0 (diff)
chore: shortened @RegisterBareInjector to @BareInjector
Diffstat (limited to 'src/main/java/ftbsc/lll/processor/LilleroProcessor.java')
-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 533375d..111d068 100644
--- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
+++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java
@@ -140,7 +140,7 @@ public class LilleroProcessor extends AbstractProcessor {
.map(e -> (TypeElement) e)
.filter(this::isValidInjector)
.forEach(this::generateClasses);
- } else if(annotation.getQualifiedName().contentEquals(RegisterBareInjector.class.getName())) {
+ } else if(annotation.getQualifiedName().contentEquals(BareInjector.class.getName())) {
TypeMirror injectorType = this.processingEnv.getElementUtils().getTypeElement("ftbsc.lll.IInjector").asType();
for(Element e : roundEnv.getElementsAnnotatedWith(annotation)) {
if(this.processingEnv.getTypeUtils().isAssignable(e.asType(), injectorType))