Class JavaSourceAnnotation
- 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.JavaSourceAnnotation
-
- All Implemented Interfaces:
IJavaAnnotatedElement,IJavaClassInfo,IJavaClassType,ITypeInfoResolver,Serializable
public class JavaSourceAnnotation extends JavaSourceType
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gw.lang.reflect.java.IJavaClassInfo
IJavaClassInfo.Util
-
-
Field Summary
-
Fields inherited from class gw.internal.gosu.parser.java.classinfo.JavaSourceType
_cache, _constructors, _enclosingClass, _fields, _fullyQualifiedName, _genericInterfaces, _genericSuperClass, _gosuModule, _importList, _innerClasses, _interfaces, _methods, _modifiersList, _namespace, _simpleName, _typeParameters, IGNORE_INTERFACES, IGNORE_NONE, IGNORE_SUPERCLASS
-
Fields inherited from interface gw.lang.reflect.java.IJavaClassInfo
LOCK
-
Fields inherited from interface gw.lang.reflect.java.IJavaClassType
EMPTY_ARRAY, ERROR_TYPE, NULL_TYPE
-
-
Constructor Summary
Constructors Constructor Description JavaSourceAnnotation(ClassTree typeDecl, JavaSourceType parent)For inner.JavaSourceAnnotation(ISourceFileHandle fileHandle, CompilationUnitTree compilationUnitTree, ClassTree typeDecl, List<? extends ImportTree> imports, SourcePositions sourcePositions, IModule gosuModule)For top level.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IJavaClassType[]getGenericInterfaces()IJavaClassInfo[]getInterfaces()booleanisAnnotation()booleanisInterface()-
Methods inherited from class gw.internal.gosu.parser.java.classinfo.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, getGenericSuperclass, getImportList, getInnerClass, getJavaType, getMethod, getMethodDescriptors, getModifierList, getModifiers, getModule, getName, getNameSignature, getNamespace, getPropertyDescriptors, getRelativeName, getSimpleName, getSourceFileHandle, getSourcePositions, getStartPosition, getStaticImports, getSuperclass, getTree, getTypeName, getTypeParameters, getTypeUsesMap, hasCustomBeanInfo, initMethodsAndConstructors, isAnnotationPresent, isArray, isClass, isCompilable, isEnum, isHiddenViaFeatureDescriptor, isInternal, isPrimitive, isPrivate, isProtected, isPublic, isVisibleViaFeatureDescriptor, makeImportList, newInstance, resolveImport, resolveType, resolveType, setJavaType, toString
-
Methods inherited from class gw.lang.reflect.java.AbstractJavaClassInfo
equals, equals, hashCode, hashCode, isAssignableFrom, isAssignableFrom
-
Methods inherited from class gw.lang.reflect.java.JavaSourceElement
findInnerSourceType, getLocationInfo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.java.IJavaAnnotatedElement
getLocationInfo
-
Methods inherited from interface gw.lang.reflect.java.IJavaClassInfo
getDeclaredField, getField
-
Methods inherited from interface gw.lang.reflect.java.IJavaClassType
isAssignableFrom
-
-
-
-
Constructor Detail
-
JavaSourceAnnotation
public JavaSourceAnnotation(ISourceFileHandle fileHandle, CompilationUnitTree compilationUnitTree, ClassTree typeDecl, List<? extends ImportTree> imports, SourcePositions sourcePositions, IModule gosuModule)
For top level.
-
JavaSourceAnnotation
public JavaSourceAnnotation(ClassTree typeDecl, JavaSourceType parent)
For inner.
-
-
Method Detail
-
getInterfaces
public IJavaClassInfo[] getInterfaces()
- Specified by:
getInterfacesin interfaceIJavaClassInfo- Overrides:
getInterfacesin classJavaSourceType
-
getGenericInterfaces
public IJavaClassType[] getGenericInterfaces()
- Specified by:
getGenericInterfacesin interfaceIJavaClassInfo- Overrides:
getGenericInterfacesin classJavaSourceType
-
isInterface
public boolean isInterface()
- Specified by:
isInterfacein interfaceIJavaClassInfo- Overrides:
isInterfacein classJavaSourceType
-
isAnnotation
public boolean isAnnotation()
- Specified by:
isAnnotationin interfaceIJavaClassInfo- Overrides:
isAnnotationin classJavaSourceType
-
-