Class JavaEnumType
java.lang.Object
gw.lang.reflect.AbstractType
gw.lang.reflect.InnerClassCapableType
gw.internal.gosu.parser.JavaType
gw.internal.gosu.parser.JavaEnumType
- All Implemented Interfaces:
IJavaEnumTypeInternal, IJavaTypeInternal, IParameterizableType, IFileRepositoryBasedType, IHasInnerClass, ICanBeAnnotation, IDefaultArrayType, IEnhanceableType, IEnumData, IEnumType, IHasJavaClass, IType, IJavaArrayType, IJavaBackedType, IJavaBackedTypeData, IJavaEnumType, IJavaType, Serializable
Provides an implementation of IEnumeratedType for java enums
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class JavaType
_classInfoFields inherited from interface IJavaTypeInternal
TYPES_BY_CLASSFields inherited from interface IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST -
Constructor Summary
ConstructorsConstructorDescriptionJavaEnumType(IJavaClassInfo cls, DefaultTypeLoader loader) JavaEnumType(Class cls, DefaultTypeLoader loader) -
Method Summary
Methods inherited from class JavaType
assignGenericTypeVariables, compile, computeQualifiedName, convertClassArray, create, createAdapterClass, equals, get, getAdapterClass, getAdapterClassDirectly, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getBackingClass, getBackingClassInfo, getClassType, getComponentType, getCompoundTypeComponents, getConcreteClass, getDisplayName, getEnclosingType, getExplicitTypeInfo, getFunctionalInterface, getGenericType, getGenericTypeVariables, getInnerClass, getInnerClasses, getInterfaces, getIntrinsicClass, getLoadedInnerClasses, getLoaderParameterizedTypes, getModifiers, getName, getNamespace, getParameterizedType, getPrimitiveType, getRelativeName, getRetainedMemory, getSimpleName, getSourceFileHandle, getSourceFiles, getSupertype, getTheRef, getTypeFromJavaBackedType, getTypeInfo, getTypeInfoChecksum, getTypeLoader, getTypeParameters, hasAncestorBeenUpdated, hasBeenUpdated, hashCode, isAbstract, isAnnotation, isArray, isAssignableFrom, isCompilable, isCompoundType, isDefiningGenericTypes, isDiscarded, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isStrictGenerics, isValid, makeArrayInstance, readResolve, setAdapterClass, setArrayComponent, setComponentType, setDiscarded, toString, unloadTypeInfo, unloadTypes, writeReplaceMethods inherited from class InnerClassCapableType
resolveRelativeInnerClassMethods inherited from class AbstractType
getLiteralMetaType, getMetaTypeMethods inherited from interface ICanBeAnnotation
isAnnotationMethods inherited from interface IDefaultArrayType
getConcreteClassMethods inherited from interface IFileRepositoryBasedType
getClassType, getJavaName, getSourceFileHandleMethods inherited from interface IHasInnerClass
getInnerClass, getLoadedInnerClasses, resolveRelativeInnerClassMethods inherited from interface IHasJavaClass
getBackingClassMethods inherited from interface IJavaBackedType
getTypeFromJavaBackedTypeMethods inherited from interface IJavaType
createAdapterClass, getBackingClassInfo, getGenericType, getInnerClasses, getIntrinsicClass, getRetainedMemoryMethods inherited from interface IJavaTypeInternal
assignGenericTypeVariables, getAdapterClass, getAdapterClassDirectly, getExplicitTypeInfo, getSimpleName, getTypeInfoChecksum, hasAncestorBeenUpdated, isDefiningGenericTypes, setAdapterClass, setComponentType, writeReplaceMethods inherited from interface IParameterizableType
getLoaderParameterizedTypes, isStrictGenericsMethods inherited from interface IType
compile, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getFunctionalInterface, getGenericTypeVariables, getInterfaces, getLiteralMetaType, getMetaType, getModifiers, getName, getNamespace, getParameterizedType, getRelativeName, getSourceFiles, getSupertype, getTypeInfo, getTypeLoader, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfo
-
Field Details
-
_enumVals
-
-
Constructor Details
-
JavaEnumType
-
JavaEnumType
-
-
Method Details
-
getEnumType
- Specified by:
getEnumTypein interfaceIJavaEnumTypeInternal
-
getEnumConstants
- Specified by:
getEnumConstantsin interfaceIEnumData
-
getEnumValues
- Specified by:
getEnumValuesin interfaceIEnumData
-
getEnumValue
- Specified by:
getEnumValuein interfaceIEnumData
-