Package gw.lang.reflect
Interface IRelativeTypeInfo
-
- All Superinterfaces:
IAnnotatedFeatureInfo
,IFeatureInfo
,ITypeInfo
- All Known Subinterfaces:
IGosuClassTypeInfo
,IJavaTypeInfo
- All Known Implementing Classes:
BaseHandBuiltTypeInfo
,CompoundTypeInfo
,DefaultArrayTypeInfo
,FeatureManagerTypeInfoBase
,GosuClassTypeInfo
,GosuFragmentTypeInfo
,JavaTypeInfo
,MetaTypeTypeInfo
public interface IRelativeTypeInfo extends ITypeInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IRelativeTypeInfo.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 int
Accessibility_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.Accessibility
getAccessibilityForType(IType whosaskin)
IConstructorInfo
getConstructor(IType whosAskin, IType[] params)
List<? extends IConstructorInfo>
getConstructors(IType whosaskin)
List<? extends IConstructorInfo>
getDeclaredConstructors()
Returns a list ofIConstructorInfo
objects reflecting all the constructors declared by the class represented by thisIType
object.List<? extends IMethodInfo>
getDeclaredMethods()
Returns a list ofIMethodInfo
objects reflecting all the methods declared by the class or interface represented by thisIType
object.List<? extends IPropertyInfo>
getDeclaredProperties()
Returns a list ofIPropertyInfo
objects reflecting all the properties declared by the class or interface represented by thisIType
object.IMethodInfo
getMethod(IType whosaskin, CharSequence methodName, IType... params)
MethodList
getMethods(IType whosaskin)
List<? extends IPropertyInfo>
getProperties(IType whosaskin)
IPropertyInfo
getProperty(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 ofIPropertyInfo
objects reflecting all the properties declared by the class or interface represented by thisIType
object. 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
IPropertyInfo
objects representing all the declared properties of this class
-
getDeclaredMethods
List<? extends IMethodInfo> getDeclaredMethods()
Returns a list ofIMethodInfo
objects reflecting all the methods declared by the class or interface represented by thisIType
object. 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
IMethodInfo
objects representing all the declared methods of this class
-
getDeclaredConstructors
List<? extends IConstructorInfo> getDeclaredConstructors()
Returns a list ofIConstructorInfo
objects reflecting all the constructors declared by the class represented by thisIType
object. 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
IConstructorInfo
objects representing all the declared methods of this class
-
-