Class AutoInjectAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
dev.derklaro.aerogel.auto.internal.processing.AutoInjectAnnotationProcessor
- All Implemented Interfaces:
Processor
@API(status=INTERNAL,
since="1.0",
consumers="dev.derklaro.aerogel.auto.internal")
public final class AutoInjectAnnotationProcessor
extends AbstractProcessor
An annotation processor which will collect and emit all auto annotation entries into a file. New annotation entries
can be registered by using the service loader api.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<String,Set<AnnotationEntryWriter>> private static final Stringprivate static final JavaFileManager.Locationprivate final Set<AutoProcessingEntry>Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ProcessingEnvironment processingEnv) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
Field Details
-
OPTION_OUTPUT_FILE_NAME
- See Also:
-
OUTPUT_FILE_LOCATION
-
processingEntries
-
foundEntries
-
-
Constructor Details
-
AutoInjectAnnotationProcessor
public AutoInjectAnnotationProcessor()
-
-
Method Details
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
getSupportedOptions
- Specified by:
getSupportedOptionsin interfaceProcessor- Overrides:
getSupportedOptionsin classAbstractProcessor
-
getSupportedAnnotationTypes
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-