public interface ResolvedEnumDeclaration extends ResolvedReferenceTypeDeclaration, HasAccessSpecifier
Modifier and Type | Method and Description |
---|---|
default ResolvedEnumDeclaration |
asEnum()
Return this as a EnumDeclaration or throw UnsupportedOperationException.
|
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, isFunctionalInterface
asClass, asInterface, asType, asTypeParameter, containerType, getClassName, getId, getInternalType, getPackageName, getQualifiedName, hasInternalType, internalTypes, isClass, isInterface, isType, isTypeParameter
asField, asMethod, asParameter, getName, hasName, isField, isMethod, isParameter
getTypeParameters, isGeneric
accessSpecifier
default boolean isEnum()
ResolvedTypeDeclaration
isEnum
in interface ResolvedTypeDeclaration
default ResolvedEnumDeclaration asEnum()
ResolvedTypeDeclaration
asEnum
in interface ResolvedTypeDeclaration
Copyright © 2007–2017. All rights reserved.