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.IAnnotationInfoHelper
Nested classes/interfaces inherited from interface gw.lang.reflect.ITypeInfo
ITypeInfo.FIND
-
Field Summary
FieldsFields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
Fields 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 ofIConstructorInfo
objects reflecting all the constructors declared by the class represented by thisIType
object.List<? extends IMethodInfo>
Returns a list ofIMethodInfo
objects reflecting all the methods declared by the class or interface represented by thisIType
object.List<? extends IPropertyInfo>
Returns a list ofIPropertyInfo
objects reflecting all the properties declared by the class or interface represented by thisIType
object.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, 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
-
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 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
-