Class ProvidesAutoProcessingEntry

java.lang.Object
dev.derklaro.aerogel.auto.processing.AbstractAutoProcessingEntry
dev.derklaro.aerogel.auto.internal.processing.ProvidesAutoProcessingEntry
All Implemented Interfaces:
AutoProcessingEntry

public final class ProvidesAutoProcessingEntry extends AbstractAutoProcessingEntry
A processing entry which emits data of provides annotations.
Since:
2.0
  • 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.