public interface ResolvedEnumDeclaration extends ResolvedReferenceTypeDeclaration, HasAccessSpecifier
| Modifier and Type | Method and Description |
|---|---|
default ResolvedEnumDeclaration |
asEnum()
Return this as a EnumDeclaration or throw UnsupportedOperationException.
|
default ResolvedEnumConstantDeclaration |
getEnumConstant(String name) |
List<ResolvedEnumConstantDeclaration> |
getEnumConstants() |
default boolean |
hasEnumConstant(String name) |
default boolean |
isEnum()
Is this the declaration of an enum?
|
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getAncestors, getConstructors, getDeclaredFields, getDeclaredMethods, getField, getVisibleField, getVisibleFields, hasAnnotation, hasDirectlyAnnotation, hasField, hasVisibleField, isAssignableBy, isAssignableBy, isFunctionalInterfaceasClass, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isAnonymousClass, isClass, isInterface, isType, isTypeParameterasEnumConstant, asField, asMethod, asParameter, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isVariablegetTypeParameters, isGenericaccessSpecifierdefault boolean isEnum()
ResolvedTypeDeclarationisEnum in interface ResolvedTypeDeclarationdefault ResolvedEnumDeclaration asEnum()
ResolvedTypeDeclarationasEnum in interface ResolvedTypeDeclarationList<ResolvedEnumConstantDeclaration> getEnumConstants()
default boolean hasEnumConstant(String name)
default ResolvedEnumConstantDeclaration getEnumConstant(String name)
Copyright © 2007–2018. All rights reserved.