Package gw.internal.gosu.parser
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 gw.internal.gosu.parser.JavaType
_classInfo
Fields inherited from interface gw.internal.gosu.parser.IJavaTypeInternal
TYPES_BY_CLASS
Fields inherited from interface gw.lang.reflect.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 gw.internal.gosu.parser.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, writeReplace
Methods inherited from class gw.lang.reflect.InnerClassCapableType
resolveRelativeInnerClass
Methods inherited from class gw.lang.reflect.AbstractType
getLiteralMetaType, getMetaType
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface gw.lang.reflect.ICanBeAnnotation
isAnnotation
Methods inherited from interface gw.lang.reflect.IDefaultArrayType
getConcreteClass
Methods inherited from interface gw.lang.parser.IFileRepositoryBasedType
getClassType, getJavaName, getSourceFileHandle
Methods inherited from interface gw.lang.parser.IHasInnerClass
getInnerClass, getLoadedInnerClasses, resolveRelativeInnerClass
Methods inherited from interface gw.lang.reflect.IHasJavaClass
getBackingClass
Methods inherited from interface gw.lang.reflect.java.IJavaBackedType
getTypeFromJavaBackedType
Methods inherited from interface gw.lang.reflect.java.IJavaType
createAdapterClass, getBackingClassInfo, getGenericType, getInnerClasses, getIntrinsicClass, getRetainedMemory
Methods inherited from interface gw.internal.gosu.parser.IJavaTypeInternal
assignGenericTypeVariables, getAdapterClass, getAdapterClassDirectly, getExplicitTypeInfo, getSimpleName, getTypeInfoChecksum, hasAncestorBeenUpdated, isDefiningGenericTypes, setAdapterClass, setComponentType, writeReplace
Methods inherited from interface gw.internal.gosu.parser.IParameterizableType
getLoaderParameterizedTypes, isStrictGenerics
Methods inherited from interface gw.lang.reflect.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:
getEnumType
in interfaceIJavaEnumTypeInternal
-
getEnumConstants
- Specified by:
getEnumConstants
in interfaceIEnumData
-
getEnumValues
- Specified by:
getEnumValues
in interfaceIEnumData
-
getEnumValue
- Specified by:
getEnumValue
in interfaceIEnumData
-