Class AbstractAutoAnnotationReader

java.lang.Object
dev.derklaro.aerogel.auto.runtime.AbstractAutoAnnotationReader
All Implemented Interfaces:
AutoAnnotationReader
Direct Known Subclasses:
FactoryAutoAnnotationReader, ProvidesAutoAnnotationReader

@API(status=STABLE, since="2.0") public abstract class AbstractAutoAnnotationReader extends Object implements AutoAnnotationReader
An abstract implementation of an auto annotation reader which takes over the handling of the reader name.
Since:
2.0
  • Field Details

    • name

      private final String name
  • Constructor Details

    • AbstractAutoAnnotationReader

      public AbstractAutoAnnotationReader(@NotNull @NotNull String name)
      Constructs a new abstract auto annotation reader instance.
      Parameters:
      name - the name of this reader.
  • Method Details

    • name

      @NotNull public @NotNull String name()
      Get the name of the emitted annotation entries which are handled by this reader.
      Specified by:
      name in interface AutoAnnotationReader
      Returns:
      the name of the handled annotation types of this reader.