Interface EnumerationTypeDeclaration

All Superinterfaces:
AnnotationTarget, Declaration, Element, MemberDeclaration, NamedElement, Type, TypeDeclaration
All Known Subinterfaces:
MutableEnumerationTypeDeclaration

@Beta public interface EnumerationTypeDeclaration extends TypeDeclaration
Author:
Sven Efftinge
  • Method Details

    • getDeclaredValues

      Iterable<? extends EnumerationValueDeclaration> getDeclaredValues()
      Returns:
      the values directly declared and contained in the enumeration type declaration
    • findDeclaredValue

      EnumerationValueDeclaration findDeclaredValue(String name)
      Parameters:
      name - of the feature
      Returns:
      the declared value with the given name or null of no such value exists.