Interface EnumElement

All Superinterfaces:
AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, ClassElement, Described, Element, MutableAnnotationMetadataDelegate<Element>, Named, TypedElement

public interface EnumElement extends ClassElement
Models an enum type.
Since:
1.0
Author:
graemerocher
  • Method Details

    • values

      List<String> values()
      The values that make up this enum.
      Returns:
      The values
    • elements

      default List<EnumConstantElement> elements()
      The enum constant elements that make up this enum.
      Returns:
      The enum constant elements
      Since:
      3.6.0