Package gw.internal.gosu.parser
Class JavaTypeInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.internal.gosu.parser.JavaBaseFeatureInfo
-
- gw.internal.gosu.parser.JavaTypeInfo
-
- All Implemented Interfaces:
IAnnotatedFeatureInfo,IAttributedFeatureInfo,IFeatureInfo,IRelativeTypeInfo,ITypeInfo,IUnloadable,IJavaTypeInfo
public class JavaTypeInfo extends JavaBaseFeatureInfo implements IJavaTypeInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelper
-
Nested classes/interfaces inherited from interface gw.lang.reflect.IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIER
-
Nested classes/interfaces inherited from interface gw.lang.reflect.IRelativeTypeInfo
IRelativeTypeInfo.Accessibility
-
Nested classes/interfaces inherited from interface gw.lang.reflect.ITypeInfo
ITypeInfo.FIND
-
-
Field Summary
-
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
Fields inherited from interface gw.lang.reflect.IRelativeTypeInfo
Accessibility_Size
-
Fields inherited from interface gw.lang.reflect.ITypeInfo
TYPEINFO_EXT
-
-
Constructor Summary
Constructors Constructor Description JavaTypeInfo(IType intrType, IJavaClassInfo backingClass)
-
Method Summary
-
Methods inherited from class gw.internal.gosu.parser.JavaBaseFeatureInfo
isVisible, makeDeprecated
-
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isFinal, isInternalAPI, isReified, isScriptable, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getOwnersType
-
-
-
-
Constructor Detail
-
JavaTypeInfo
public JavaTypeInfo(IType intrType, IJavaClassInfo backingClass)
-
-
Method Detail
-
unload
public void unload()
- Specified by:
unloadin interfaceIUnloadable
-
getAnnotatedElement
protected IJavaAnnotatedElement getAnnotatedElement()
- Specified by:
getAnnotatedElementin classJavaBaseFeatureInfo
-
isVisibleViaFeatureDescriptor
protected boolean isVisibleViaFeatureDescriptor(IScriptabilityModifier constraint)
- Specified by:
isVisibleViaFeatureDescriptorin classJavaBaseFeatureInfo
-
isHiddenViaFeatureDescriptor
protected boolean isHiddenViaFeatureDescriptor()
- Specified by:
isHiddenViaFeatureDescriptorin classJavaBaseFeatureInfo
-
getAccessibilityForType
public IRelativeTypeInfo.Accessibility getAccessibilityForType(IType whosaskin)
- Specified by:
getAccessibilityForTypein interfaceIRelativeTypeInfo
-
getProperties
public List<? extends IPropertyInfo> getProperties()
- Specified by:
getPropertiesin interfaceITypeInfo
-
getProperties
public List<IPropertyInfo> getProperties(IType whosAskin)
- Specified by:
getPropertiesin interfaceIRelativeTypeInfo
-
getProperty
public IPropertyInfo getProperty(CharSequence propName)
- Specified by:
getPropertyin interfaceITypeInfo
-
getProperty
public IPropertyInfo getProperty(IType whosAskin, CharSequence propName)
- Specified by:
getPropertyin interfaceIRelativeTypeInfo
-
getMethods
public MethodList getMethods()
- Specified by:
getMethodsin interfaceITypeInfo
-
getMethods
public MethodList getMethods(IType whosAskin)
- Specified by:
getMethodsin interfaceIRelativeTypeInfo
-
getConstructors
public List<? extends IConstructorInfo> getConstructors()
- Specified by:
getConstructorsin interfaceITypeInfo
-
getConstructors
public List<? extends IConstructorInfo> getConstructors(IType whosAskin)
- Specified by:
getConstructorsin interfaceIRelativeTypeInfo
-
getMethod
public IMethodInfo getMethod(CharSequence methodName, IType... params)
-
getMethod
public IMethodInfo getMethod(IType whosaskin, CharSequence methodName, IType... params)
- Specified by:
getMethodin interfaceIRelativeTypeInfo
-
getConstructor
public IConstructorInfo getConstructor(IType... params)
- Specified by:
getConstructorin interfaceITypeInfo
-
getConstructor
public IConstructorInfo getConstructor(IType whosAskin, IType[] params)
- Specified by:
getConstructorin interfaceIRelativeTypeInfo
-
getDeclaredProperties
public List<? extends IPropertyInfo> getDeclaredProperties()
- Specified by:
getDeclaredPropertiesin interfaceIRelativeTypeInfo
-
getDeclaredMethods
public List<? extends IMethodInfo> getDeclaredMethods()
- Specified by:
getDeclaredMethodsin interfaceIRelativeTypeInfo
-
getDeclaredConstructors
public List<? extends IConstructorInfo> getDeclaredConstructors()
- Specified by:
getDeclaredConstructorsin interfaceIRelativeTypeInfo
-
getCallableMethod
public IMethodInfo getCallableMethod(CharSequence strMethod, IType... params)
- Specified by:
getCallableMethodin interfaceITypeInfo
-
getCallableConstructor
public IConstructorInfo getCallableConstructor(IType... params)
- Specified by:
getCallableConstructorin interfaceITypeInfo
-
getEvents
public List<IEventInfo> getEvents()
-
getEvent
public IEventInfo getEvent(CharSequence strEvent)
-
getName
public String getName()
- Specified by:
getNamein interfaceIFeatureInfo
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceIFeatureInfo- Overrides:
getDisplayNamein classBaseFeatureInfo
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIFeatureInfo- Overrides:
getDescriptionin classBaseFeatureInfo
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecatedin interfaceIAnnotatedFeatureInfo- Overrides:
isDeprecatedin classBaseFeatureInfo
-
getDeclaredAnnotations
public List<IAnnotationInfo> getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIAnnotatedFeatureInfo- Overrides:
getDeclaredAnnotationsin classJavaBaseFeatureInfo
-
isHidden
public boolean isHidden()
- Specified by:
isHiddenin interfaceIAttributedFeatureInfo- Overrides:
isHiddenin classJavaBaseFeatureInfo
-
isDefaultEnumFeature
protected boolean isDefaultEnumFeature()
- Specified by:
isDefaultEnumFeaturein classJavaBaseFeatureInfo
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceIAttributedFeatureInfo
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceIAttributedFeatureInfo- Overrides:
isPrivatein classBaseFeatureInfo
-
isInternal
public boolean isInternal()
- Specified by:
isInternalin interfaceIAttributedFeatureInfo- Overrides:
isInternalin classBaseFeatureInfo
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceIAttributedFeatureInfo- Overrides:
isProtectedin classBaseFeatureInfo
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceIAttributedFeatureInfo- Overrides:
isPublicin classBaseFeatureInfo
-
getLocationInfo
public ILocationInfo getLocationInfo()
- Specified by:
getLocationInfoin interfaceIFeatureInfo
-
-