public interface ResolvedEnumDeclaration extends ResolvedReferenceTypeDeclaration, HasAccessSpecifier
| Modifier and Type | Method and Description |
|---|---|
default ResolvedEnumDeclaration |
asEnum()
Return this as a EnumDeclaration or throw UnsupportedOperationException.
|
List<ResolvedEnumConstantDeclaration> |
getEnumConstants() |
default boolean |
isEnum()
Is this the declaration of an enum?
|
asReferenceType, canBeAssignedTo, findTypeParameter, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, 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, isTypeParameterasField, asMethod, asParameter, getName, hasName, isField, isMethod, isParametergetTypeParameters, isGenericaccessSpecifierdefault boolean isEnum()
ResolvedTypeDeclarationisEnum in interface ResolvedTypeDeclarationdefault ResolvedEnumDeclaration asEnum()
ResolvedTypeDeclarationasEnum in interface ResolvedTypeDeclarationList<ResolvedEnumConstantDeclaration> getEnumConstants()
Copyright © 2007–2018. All rights reserved.