Class ProvidesAutoProcessingEntry
java.lang.Object
dev.derklaro.aerogel.auto.processing.AbstractAutoProcessingEntry
dev.derklaro.aerogel.auto.internal.processing.ProvidesAutoProcessingEntry
- All Implemented Interfaces:
AutoProcessingEntry
A processing entry which emits data of provides annotations.
- Since:
- 2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classA writer which emits annotation data of provides annotations. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new factory auto processing entry instance. -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<AnnotationEntryWriter>parseElements(@NotNull Collection<? extends Element> annotatedElements, @NotNull ProcessingEnvironment processingEnvironment) Parses the given elements which are annotated with one of the supported annotations and constructs writers for each element to emit it them into autoconfigure files.Methods inherited from class dev.derklaro.aerogel.auto.processing.AbstractAutoProcessingEntry
name, supportedAnnotations
-
Constructor Details
-
ProvidesAutoProcessingEntry
public ProvidesAutoProcessingEntry()Constructs a new factory auto processing entry instance.
-
-
Method Details
-
parseElements
@NotNull public @NotNull Collection<AnnotationEntryWriter> parseElements(@NotNull @NotNull Collection<? extends Element> annotatedElements, @NotNull @NotNull ProcessingEnvironment processingEnvironment) Parses the given elements which are annotated with one of the supported annotations and constructs writers for each element to emit it them into autoconfigure files.- Parameters:
annotatedElements- the elements which are annotated with one of the supported annotations.processingEnvironment- the current processing environment.- Returns:
- a collection of writers to emit each entry into an autoconfigure file.
-