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
FieldsModifier and TypeFieldDescriptionprivate final LockingLazyVar<List<? extends IEventInfo>>
private final FeatureManager
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 -
Method Summary
Modifier and TypeMethodDescriptiongetAccessibilityForType
(IType whosaskin) getConstructor
(IType whosAskin, IType[] params) List<? extends IConstructorInfo>
List<? extends IConstructorInfo>
getConstructors
(IType whosaskin) getEvent
(CharSequence event) Get an event mapped to the specified name.List<? extends IEventInfo>
getMethod
(IType whosaskin, CharSequence methodName, IType... params) getMethods
(IType whosaskin) List<? extends IPropertyInfo>
List<? extends IPropertyInfo>
getProperties
(IType whosaskin) getProperty
(IType whosaskin, CharSequence propName) getProperty
(CharSequence property) Get a property mapped to the specified name.protected abstract List<? extends IEventInfo>
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
compactAndLockList, 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
-
Field Details
-
_fm
-
_eventsCache
-
-
Constructor Details
-
BaseHandBuiltTypeInfo
-
-
Method Details
-
loadEvents
-
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
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
- 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
- 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
- Specified by:
getAccessibilityForType
in interfaceIRelativeTypeInfo
-
getConstructor
- Specified by:
getConstructor
in interfaceIRelativeTypeInfo
-
getConstructors
- Specified by:
getConstructors
in interfaceIRelativeTypeInfo
-
getMethod
- Specified by:
getMethod
in interfaceIRelativeTypeInfo
-
getMethods
- Specified by:
getMethods
in interfaceIRelativeTypeInfo
-
getProperties
- Specified by:
getProperties
in interfaceIRelativeTypeInfo
-
getProperty
- Specified by:
getProperty
in interfaceIRelativeTypeInfo
-
getEvent
Description copied from interface:ITypeInfo
Get an event mapped to the specified name. -
getEvents
-