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
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelperNested classes/interfaces inherited from interface gw.lang.reflect.ITypeInfo
ITypeInfo.FIND -
Field Summary
FieldsFields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPERFields inherited from interface gw.lang.reflect.ITypeInfo
TYPEINFO_EXT -
Method Summary
Modifier and TypeMethodDescriptiongetAccessibilityForType(IType whosaskin) getConstructor(IType whosAskin, IType[] params) List<? extends IConstructorInfo>getConstructors(IType whosaskin) List<? extends IConstructorInfo>Returns a list ofIConstructorInfoobjects reflecting all the constructors declared by the class represented by thisITypeobject.List<? extends IMethodInfo>Returns a list ofIMethodInfoobjects reflecting all the methods declared by the class or interface represented by thisITypeobject.List<? extends IPropertyInfo>Returns a list ofIPropertyInfoobjects reflecting all the properties declared by the class or interface represented by thisITypeobject.getMethod(IType whosaskin, CharSequence methodName, IType... params) getMethods(IType whosaskin) List<? extends IPropertyInfo>getProperties(IType whosaskin) getProperty(IType whosaskin, CharSequence propName) Methods inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getDeclaredAnnotations, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedMethods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getDescription, getDisplayName, getLocationInfo, getName, getOwnersTypeMethods inherited from interface gw.lang.reflect.ITypeInfo
getCallableConstructor, getCallableMethod, getConstructor, getConstructors, getEvent, getEvents, getMethod, getMethods, getProperties, getProperty
-
Field Details
-
Accessibility_Size
static final int Accessibility_Size
-
-
Method Details
-
getAccessibilityForType
-
getProperties
-
getProperty
-
getMethods
-
getMethod
-
getConstructors
-
getConstructor
-
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
-