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)) diff --git a/src/main/java/ftbsc/lll/processor/annotations/RegisterBareInjector.java b/src/main/java/ftbsc/lll/processor/annotations/BareInjector.java similarity index 90% rename from src/main/java/ftbsc/lll/processor/annotations/RegisterBareInjector.java rename to src/main/java/ftbsc/lll/processor/annotations/BareInjector.java index 1340bf7..40d6ab2 100644 --- a/src/main/java/ftbsc/lll/processor/annotations/RegisterBareInjector.java +++ b/src/main/java/ftbsc/lll/processor/annotations/BareInjector.java @@ -11,8 +11,8 @@ import java.lang.annotation.RetentionPolicy; * (META-INF/services/ftbsc.lll.IInjector) without actually processing it. This can * be used to mix in a same project regular {@link IInjector}s and those generated * by the processor. - * @since 0.6.0 + * @since 0.6.1 */ @Retention(RetentionPolicy.CLASS) @java.lang.annotation.Target(ElementType.TYPE) -public @interface RegisterBareInjector {} +public @interface BareInjector {}