Package gw.lang.reflect
Interface IRelativeTypeInfo
-
- All Superinterfaces:
IAnnotatedFeatureInfo,IFeatureInfo,ITypeInfo
- All Known Subinterfaces:
IGosuClassTypeInfo,IJavaTypeInfo
- All Known Implementing Classes:
BaseHandBuiltTypeInfo,DefaultArrayTypeInfo,FeatureManagerTypeInfoBase
public interface IRelativeTypeInfo extends ITypeInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIRelativeTypeInfo.Accessibility-
Nested classes/interfaces inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelper
-
Nested classes/interfaces inherited from interface gw.lang.reflect.ITypeInfo
ITypeInfo.FIND
-
-
Field Summary
Fields Modifier and Type Field Description static intAccessibility_Size-
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
Fields inherited from interface gw.lang.reflect.ITypeInfo
TYPEINFO_EXT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRelativeTypeInfo.AccessibilitygetAccessibilityForType(IType whosaskin)IConstructorInfogetConstructor(IType whosAskin, IType[] params)List<? extends IConstructorInfo>getConstructors(IType whosaskin)List<? extends IConstructorInfo>getDeclaredConstructors()Returns a list ofIConstructorInfoobjects reflecting all the constructors declared by the class represented by thisITypeobject.List<? extends IMethodInfo>getDeclaredMethods()Returns a list ofIMethodInfoobjects reflecting all the methods declared by the class or interface represented by thisITypeobject.List<? extends IPropertyInfo>getDeclaredProperties()Returns a list ofIPropertyInfoobjects reflecting all the properties declared by the class or interface represented by thisITypeobject.IMethodInfogetMethod(IType whosaskin, CharSequence methodName, IType... params)MethodListgetMethods(IType whosaskin)List<? extends IPropertyInfo>getProperties(IType whosaskin)IPropertyInfogetProperty(IType whosaskin, CharSequence propName)-
Methods inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getDeclaredAnnotations, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecated
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getDescription, getDisplayName, getLocationInfo, getName, getOwnersType
-
Methods inherited from interface gw.lang.reflect.ITypeInfo
getCallableConstructor, getCallableMethod, getConstructor, getConstructors, getEvent, getEvents, getMethod, getMethods, getProperties, getProperty
-
-
-
-
Method Detail
-
getAccessibilityForType
IRelativeTypeInfo.Accessibility getAccessibilityForType(IType whosaskin)
-
getProperties
List<? extends IPropertyInfo> getProperties(IType whosaskin)
-
getProperty
IPropertyInfo getProperty(IType whosaskin, CharSequence propName)
-
getMethods
MethodList getMethods(IType whosaskin)
-
getMethod
IMethodInfo getMethod(IType whosaskin, CharSequence methodName, IType... params)
-
getConstructors
List<? extends IConstructorInfo> getConstructors(IType whosaskin)
-
getConstructor
IConstructorInfo getConstructor(IType whosAskin, IType[] params)
-
getDeclaredProperties
List<? extends IPropertyInfo> getDeclaredProperties()
Returns a list ofIPropertyInfoobjects reflecting all the properties declared by the class or interface represented by thisITypeobject. This includes public, protected, internal access, and private properties, but excludes inherited properties. The elements in the list are ordered by declaration order in the file. This method returns an empty list if the type does not contain any properties- Returns:
- the list of
IPropertyInfoobjects representing all the declared properties of this class
-
getDeclaredMethods
List<? extends IMethodInfo> getDeclaredMethods()
Returns a list ofIMethodInfoobjects reflecting all the methods declared by the class or interface represented by thisITypeobject. This includes public, protected, internal access, and private methods, but excludes inherited methods. The elements in the list are ordered by declaration order in the file. This method returns an empty list if the type does not contain any methods- Returns:
- the list of
IMethodInfoobjects representing all the declared methods of this class
-
getDeclaredConstructors
List<? extends IConstructorInfo> getDeclaredConstructors()
Returns a list ofIConstructorInfoobjects reflecting all the constructors declared by the class represented by thisITypeobject. This includes public, protected, internal access, and private constructors. Interfaces and arrays always return an empty list. The elements in the list are ordered by declaration order in the file. This method returns an empty list if the type does not contain any methods- Returns:
- the list of
IConstructorInfoobjects representing all the declared methods of this class
-
-