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
_classInfoFields inherited from interface gw.internal.gosu.parser.IJavaTypeInternal
TYPES_BY_CLASSFields 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, writeReplaceMethods inherited from class gw.lang.reflect.InnerClassCapableType
resolveRelativeInnerClassMethods inherited from class gw.lang.reflect.AbstractType
getLiteralMetaType, getMetaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface gw.lang.reflect.ICanBeAnnotation
isAnnotationMethods inherited from interface gw.lang.reflect.IDefaultArrayType
getConcreteClassMethods inherited from interface gw.lang.parser.IFileRepositoryBasedType
getClassType, getJavaName, getSourceFileHandleMethods inherited from interface gw.lang.parser.IHasInnerClass
getInnerClass, getLoadedInnerClasses, resolveRelativeInnerClassMethods inherited from interface gw.lang.reflect.IHasJavaClass
getBackingClassMethods inherited from interface gw.lang.reflect.java.IJavaBackedType
getTypeFromJavaBackedTypeMethods inherited from interface gw.lang.reflect.java.IJavaType
createAdapterClass, getBackingClassInfo, getGenericType, getInnerClasses, getIntrinsicClass, getRetainedMemoryMethods inherited from interface gw.internal.gosu.parser.IJavaTypeInternal
assignGenericTypeVariables, getAdapterClass, getAdapterClassDirectly, getExplicitTypeInfo, getSimpleName, getTypeInfoChecksum, hasAncestorBeenUpdated, isDefiningGenericTypes, setAdapterClass, setComponentType, writeReplaceMethods inherited from interface gw.internal.gosu.parser.IParameterizableType
getLoaderParameterizedTypes, isStrictGenericsMethods 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:
getEnumTypein interfaceIJavaEnumTypeInternal
-
getEnumConstants
- Specified by:
getEnumConstantsin interfaceIEnumData
-
getEnumValues
- Specified by:
getEnumValuesin interfaceIEnumData
-
getEnumValue
- Specified by:
getEnumValuein interfaceIEnumData
-