Class JavaSourceEnum
java.lang.Object
gw.lang.reflect.java.JavaSourceElement
gw.lang.reflect.java.AbstractJavaClassInfo
gw.internal.gosu.parser.java.classinfo.JavaSourceType
gw.internal.gosu.parser.java.classinfo.JavaSourceEnum
- All Implemented Interfaces:
IJavaAnnotatedElement, IJavaClassInfo, IJavaClassType, ITypeInfoResolver, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface IJavaClassInfo
IJavaClassInfo.Util -
Field Summary
Fields inherited from class JavaSourceType
_cache, _constructors, _enclosingClass, _fields, _fullyQualifiedName, _genericInterfaces, _genericSuperClass, _gosuModule, _importList, _innerClasses, _interfaces, _methods, _modifiersList, _namespace, _simpleName, _typeParameters, IGNORE_INTERFACES, IGNORE_NONE, IGNORE_SUPERCLASSFields inherited from interface IJavaClassInfo
LOCKFields inherited from interface IJavaClassType
EMPTY_ARRAY, ERROR_TYPE, NULL_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionJavaSourceEnum(com.sun.source.tree.ClassTree typeDecl, JavaSourceType parent) For inner.JavaSourceEnum(ISourceFileHandle fileHandle, com.sun.source.tree.CompilationUnitTree compilationUnitTree, com.sun.source.tree.ClassTree typeDecl, List<? extends com.sun.source.tree.ImportTree> imports, com.sun.source.util.SourcePositions sourcePositions, IModule gosuModule) For top level. -
Method Summary
Methods inherited from class JavaSourceType
compile, createClassDocNode, createTopLevel, createTopLevel, createType, createType, getActualType, getActualType, getAnnotation, getArrayType, getBackingClass, getCompilationUnitTree, getComponentType, getConcreteType, getConstructor, getDeclaredAnnotations, getDeclaredClasses, getDeclaredConstructors, getDeclaredFields, getDeclaredMethod, getDeclaredMethods, getDeclaringClass, getDeepestClassAtOffset, getDisplayName, getEnclosingClass, getEnclosingType, getEndPosition, getEnumConstants, getFields, getGenericInterfaces, getGenericSuperclass, getImportList, getInnerClass, getInterfaces, getJavaType, getMethod, getMethodDescriptors, getModifierList, getModifiers, getModule, getName, getNameSignature, getNamespace, getPropertyDescriptors, getRelativeName, getSimpleName, getSourceFileHandle, getSourcePositions, getStartPosition, getStaticImports, getSuperclass, getTree, getTypeName, getTypeParameters, getTypeUsesMap, hasCustomBeanInfo, initMethodsAndConstructors, isAnnotation, isAnnotationPresent, isArray, isClass, isCompilable, isHiddenViaFeatureDescriptor, isInterface, isInternal, isPrimitive, isPrivate, isProtected, isPublic, isVisibleViaFeatureDescriptor, makeImportList, newInstance, resolveImport, resolveType, resolveType, setJavaType, toStringMethods inherited from class AbstractJavaClassInfo
equals, equals, hashCode, hashCode, isAssignableFrom, isAssignableFromMethods inherited from class JavaSourceElement
findInnerSourceType, getLocationInfoMethods inherited from interface IJavaAnnotatedElement
getLocationInfoMethods inherited from interface IJavaClassInfo
getDeclaredField, getFieldMethods inherited from interface IJavaClassType
isAssignableFrom
-
Constructor Details
-
JavaSourceEnum
public JavaSourceEnum(ISourceFileHandle fileHandle, com.sun.source.tree.CompilationUnitTree compilationUnitTree, com.sun.source.tree.ClassTree typeDecl, List<? extends com.sun.source.tree.ImportTree> imports, com.sun.source.util.SourcePositions sourcePositions, IModule gosuModule) For top level. -
JavaSourceEnum
For inner.
-
-
Method Details
-
isEnum
public boolean isEnum()- Specified by:
isEnumin interfaceIJavaClassInfo- Overrides:
isEnumin classJavaSourceType
-