Package gw.lang.reflect
Class BaseHandBuiltTypeInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.lang.reflect.BaseJavaTypeInfo
-
- gw.lang.reflect.BaseHandBuiltTypeInfo
-
- All Implemented Interfaces:
IAnnotatedFeatureInfo
,IAttributedFeatureInfo
,IExplicitTypeInfo
,IFeatureInfo
,IRelativeTypeInfo
,ITypeInfo
,IUnloadable
public abstract class BaseHandBuiltTypeInfo extends BaseJavaTypeInfo implements IUnloadable, IRelativeTypeInfo, IExplicitTypeInfo
-
-
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 BaseHandBuiltTypeInfo(Class javaClass)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IRelativeTypeInfo.Accessibility
getAccessibilityForType(IType whosaskin)
IConstructorInfo
getConstructor(IType whosAskin, IType[] params)
List<? extends IConstructorInfo>
getConstructors()
List<? extends IConstructorInfo>
getConstructors(IType whosaskin)
IEventInfo
getEvent(CharSequence event)
Get an event mapped to the specified name.List<? extends IEventInfo>
getEvents()
IMethodInfo
getMethod(IType whosaskin, CharSequence methodName, IType... params)
MethodList
getMethods()
MethodList
getMethods(IType whosaskin)
List<? extends IPropertyInfo>
getProperties()
List<? extends IPropertyInfo>
getProperties(IType whosaskin)
IPropertyInfo
getProperty(IType whosaskin, CharSequence propName)
IPropertyInfo
getProperty(CharSequence property)
Get a property mapped to the specified name.protected abstract List<? extends IEventInfo>
loadEvents()
void
unload()
-
Methods inherited from class gw.lang.reflect.BaseJavaTypeInfo
getCallableConstructor, getCallableMethod, getConstructor, getDeclaredAnnotations, getDescription, getDisplayName, getMethod, getName, getShortDescription, isStatic
-
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isDeprecated, isFinal, isHidden, isInternal, isInternalAPI, isPrivate, isProtected, isPublic, isReified, isScriptable, isVisible, 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, 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.IRelativeTypeInfo
getDeclaredConstructors, getDeclaredMethods, getDeclaredProperties
-
Methods inherited from interface gw.lang.reflect.ITypeInfo
getCallableConstructor, getCallableMethod, getConstructor, getMethod
-
-
-
-
Constructor Detail
-
BaseHandBuiltTypeInfo
public BaseHandBuiltTypeInfo(Class javaClass)
-
-
Method Detail
-
loadEvents
protected abstract List<? extends IEventInfo> loadEvents()
-
getProperties
public List<? extends IPropertyInfo> getProperties()
- Specified by:
getProperties
in interfaceITypeInfo
- Returns:
- An unmodifiable random access list of
IPropertyInfo
instances. The list is sorted ascending by name. Returns an empty list if there are no properties.
-
getProperty
public IPropertyInfo getProperty(CharSequence property)
Description copied from interface:ITypeInfo
Get a property mapped to the specified name.- Specified by:
getProperty
in interfaceITypeInfo
- Parameters:
property
- The property name.- Returns:
- An IPropertyInfo corresponding to the property name.
-
getMethods
public MethodList getMethods()
- Specified by:
getMethods
in interfaceITypeInfo
- Returns:
- An unmodifiable random access list of
IMethodInfo
instances. The list is sorted ascending by name. Returns an empty list if there are no methods.
-
getConstructors
public List<? extends IConstructorInfo> getConstructors()
- Specified by:
getConstructors
in interfaceITypeInfo
- Returns:
- An unmodifiable random access list of
IConstructorInfo
instances. The list is sorted ascending by name. Returns an empty list if there are no constructors.
-
unload
public void unload()
- Specified by:
unload
in interfaceIUnloadable
-
getAccessibilityForType
public IRelativeTypeInfo.Accessibility getAccessibilityForType(IType whosaskin)
- Specified by:
getAccessibilityForType
in interfaceIRelativeTypeInfo
-
getConstructor
public IConstructorInfo getConstructor(IType whosAskin, IType[] params)
- Specified by:
getConstructor
in interfaceIRelativeTypeInfo
-
getConstructors
public List<? extends IConstructorInfo> getConstructors(IType whosaskin)
- Specified by:
getConstructors
in interfaceIRelativeTypeInfo
-
getMethod
public IMethodInfo getMethod(IType whosaskin, CharSequence methodName, IType... params)
- Specified by:
getMethod
in interfaceIRelativeTypeInfo
-
getMethods
public MethodList getMethods(IType whosaskin)
- Specified by:
getMethods
in interfaceIRelativeTypeInfo
-
getProperties
public List<? extends IPropertyInfo> getProperties(IType whosaskin)
- Specified by:
getProperties
in interfaceIRelativeTypeInfo
-
getProperty
public IPropertyInfo getProperty(IType whosaskin, CharSequence propName)
- Specified by:
getProperty
in interfaceIRelativeTypeInfo
-
getEvent
public IEventInfo getEvent(CharSequence event)
Description copied from interface:ITypeInfo
Get an event mapped to the specified name.
-
getEvents
public List<? extends IEventInfo> getEvents()
-
-