java.lang.Object
com.github.egoettelmann.spring.configuration.extensions.annotationprocessor.value.reader.ElementReader

public class ElementReader extends Object
A reader class to extract the value annotation metadata from a given Element.
  • Field Details

    • VALUE_ANNOTATION_CLASS

      public static final String VALUE_ANNOTATION_CLASS
      The value annotation class to process
      See Also:
  • Constructor Details

    • ElementReader

      public ElementReader(Elements elementUtils)
      Instantiates the reader.
      Parameters:
      elementUtils - the utils class to interact with the element context
  • Method Details

    • read

      public List<ValueAnnotationMetadata> read(Element element)
      Extracts the value annotation metadata from the given element.
      Parameters:
      element - the element to read
      Returns:
      the list of value annotation metadata