public interface EnumDeclaration extends TypeDeclaration, HasAccessLevel
Modifier and Type | Method and Description |
---|---|
default EnumDeclaration |
asEnum()
Return this as a EnumDeclaration or throw UnsupportedOperationException.
|
default boolean |
isEnum()
Is this the declaration of an enum?
|
asClass, asInterface, asType, asTypeParameter, canBeAssignedTo, containerType, findTypeParameter, getAllAncestors, getAllFields, getAllMethods, getAllNonStaticFields, getAllStaticFields, getAncestors, getDeclaredFields, getDeclaredMethods, getField, getId, getQualifiedName, hasAnnotation, hasDirectlyAnnotation, hasField, internalTypes, isAssignableBy, isAssignableBy, isClass, isInterface, isType, isTypeParameter
asField, asMethod, asParameter, getName, hasName, isField, isMethod, isParameter
getTypeParameters
accessLevel
default boolean isEnum()
TypeDeclaration
isEnum
in interface TypeDeclaration
default EnumDeclaration asEnum()
TypeDeclaration
asEnum
in interface TypeDeclaration
Copyright © 2016. All rights reserved.