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.AccessibilitygetAccessibilityForType(IType whosaskin)IConstructorInfogetConstructor(IType whosAskin, IType[] params)List<? extends IConstructorInfo>getConstructors()List<? extends IConstructorInfo>getConstructors(IType whosaskin)IEventInfogetEvent(CharSequence event)Get an event mapped to the specified name.List<? extends IEventInfo>getEvents()IMethodInfogetMethod(IType whosaskin, CharSequence methodName, IType... params)MethodListgetMethods()MethodListgetMethods(IType whosaskin)List<? extends IPropertyInfo>getProperties()List<? extends IPropertyInfo>getProperties(IType whosaskin)IPropertyInfogetProperty(IType whosaskin, CharSequence propName)IPropertyInfogetProperty(CharSequence property)Get a property mapped to the specified name.protected abstract List<? extends IEventInfo>loadEvents()voidunload()-
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:
getPropertiesin interfaceITypeInfo- Returns:
- An unmodifiable random access list of
IPropertyInfoinstances. 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:ITypeInfoGet a property mapped to the specified name.- Specified by:
getPropertyin interfaceITypeInfo- Parameters:
property- The property name.- Returns:
- An IPropertyInfo corresponding to the property name.
-
getMethods
public MethodList getMethods()
- Specified by:
getMethodsin interfaceITypeInfo- Returns:
- An unmodifiable random access list of
IMethodInfoinstances. The list is sorted ascending by name. Returns an empty list if there are no methods.
-
getConstructors
public List<? extends IConstructorInfo> getConstructors()
- Specified by:
getConstructorsin interfaceITypeInfo- Returns:
- An unmodifiable random access list of
IConstructorInfoinstances. The list is sorted ascending by name. Returns an empty list if there are no constructors.
-
unload
public void unload()
- Specified by:
unloadin interfaceIUnloadable
-
getAccessibilityForType
public IRelativeTypeInfo.Accessibility getAccessibilityForType(IType whosaskin)
- Specified by:
getAccessibilityForTypein interfaceIRelativeTypeInfo
-
getConstructor
public IConstructorInfo getConstructor(IType whosAskin, IType[] params)
- Specified by:
getConstructorin interfaceIRelativeTypeInfo
-
getConstructors
public List<? extends IConstructorInfo> getConstructors(IType whosaskin)
- Specified by:
getConstructorsin interfaceIRelativeTypeInfo
-
getMethod
public IMethodInfo getMethod(IType whosaskin, CharSequence methodName, IType... params)
- Specified by:
getMethodin interfaceIRelativeTypeInfo
-
getMethods
public MethodList getMethods(IType whosaskin)
- Specified by:
getMethodsin interfaceIRelativeTypeInfo
-
getProperties
public List<? extends IPropertyInfo> getProperties(IType whosaskin)
- Specified by:
getPropertiesin interfaceIRelativeTypeInfo
-
getProperty
public IPropertyInfo getProperty(IType whosaskin, CharSequence propName)
- Specified by:
getPropertyin interfaceIRelativeTypeInfo
-
getEvent
public IEventInfo getEvent(CharSequence event)
Description copied from interface:ITypeInfoGet an event mapped to the specified name.
-
getEvents
public List<? extends IEventInfo> getEvents()
-
-