public class JEnumType extends JRealClassType implements JEnumType
Modifier and Type | Method and Description |
---|---|
JEnumConstant[] |
getEnumConstants()
Returns the enumeration constants declared by this enumeration.
|
JEnumType |
isEnum()
Returns this instance if it is an enumeration or
null if it is
not. |
acceptSubtype, addConstructor, addField, addLastModifiedTime, addMethod, addModifierBits, addNestedType, findConstructor, findField, findMethod, findNestedType, findNestedTypeImpl, getAnnotation, getAnnotations, getConstructor, getConstructors, getDeclaredAnnotations, getEnclosingType, getErasedType, getField, getFields, getImplementedInterfaces, getInheritableMethods, getInheritableMethodsOnSuperclassesAndThisClass, getInheritableMethodsOnSuperinterfacesAndMaybeThisInterface, getJNISignature, getLastModifiedTime, getMethod, getMethods, getModifierBits, getName, getNestedType, getNestedTypes, getOracle, getOverloads, getOverridableMethods, getPackage, getQualifiedBinaryName, getQualifiedSourceName, getSimpleSourceName, getSubtypes, getSuperclass, isAbstract, isAnnotationPresent, isArray, isClass, isDefaultInstantiable, isFinal, isGenericType, isInterface, isMemberType, isParameterized, isPrimitive, isPrivate, isProtected, isPublic, isRawType, isStatic, isWildcard, notifySuperTypesOf, removeSubtype, toString
asParameterizationOf, equals, findAnnotationInTypeHierarchy, getFlattenedSupertypeHierarchy, getFlattenedSuperTypeHierarchy, getLeafType, getMetaData, getMetaDataTags, getParameterizedQualifiedSourceName, hashCode, isAnnotation, isAssignableFrom, isAssignableTo, isClassOrInterface, isEnhanced, isLocalType, isMaybeParameterizedType, isPackageProtected, isTypeParameter, setEnhanced
getLastModifiedTime
asParameterizationOf, findAnnotationInTypeHierarchy, findConstructor, findField, findMethod, findNestedType, getConstructor, getConstructors, getEnclosingType, getErasedType, getField, getFields, getFlattenedSupertypeHierarchy, getImplementedInterfaces, getInheritableMethods, getMethod, getMethods, getName, getNestedType, getNestedTypes, getOracle, getOverloads, getOverridableMethods, getPackage, getSubtypes, getSuperclass, isAbstract, isAssignableFrom, isAssignableTo, isDefaultInstantiable, isEnhanced, isFinal, isLocalType, isMemberType, isPackageProtected, isPrivate, isProtected, isPublic, isStatic, setEnhanced
getJNISignature, getLeafType, getParameterizedQualifiedSourceName, getQualifiedBinaryName, getQualifiedSourceName, getSimpleSourceName, isAnnotation, isArray, isClass, isClassOrInterface, isGenericType, isInterface, isParameterized, isPrimitive, isRawType, isTypeParameter, isWildcard
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
getMetaData, getMetaDataTags
public JEnumConstant[] getEnumConstants()
getEnumConstants
in interface JEnumType
public JEnumType isEnum()
JClassType
null
if it is
not.isEnum
in interface JType
isEnum
in class JRealClassType
null
if it is
notCopyright © 2018. All rights reserved.