Package gw.internal.gosu.dynamic
Class DynamicMethodInfo
java.lang.Object
gw.lang.reflect.MethodInfoBase
gw.internal.gosu.dynamic.DynamicMethodInfo
- All Implemented Interfaces:
IAnnotatedFeatureInfo
,IAttributedFeatureInfo
,IFeatureInfo
,IHasParameterInfos
,IMethodCallHandler
,IMethodInfo
-
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
-
Field Summary
FieldsFields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DynamicMethodInfo
(ITypeInfo container, String strName, IType... paramTypes) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the programmatic name or identifier of this feature.handleCall
(Object ctx, Object... args) private void
Methods inherited from class gw.lang.reflect.MethodInfoBase
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getDescription, getDisplayName, getExceptions, getOwnersType, getReturnDescription, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isDeprecated, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isScriptable, isStatic, isVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gw.lang.reflect.IAttributedFeatureInfo
isReified
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getLocationInfo
-
Field Details
-
_strName
-
_paramTypes
-
_paramInfos
-
-
Constructor Details
-
DynamicMethodInfo
-
-
Method Details
-
makeParameters
private void makeParameters() -
getParameters
- Specified by:
getParameters
in interfaceIHasParameterInfos
- Specified by:
getParameters
in interfaceIMethodInfo
-
getReturnType
- Specified by:
getReturnType
in interfaceIMethodInfo
-
getCallHandler
- Specified by:
getCallHandler
in interfaceIMethodInfo
-
getName
Description copied from interface:IFeatureInfo
Gets the programmatic name or identifier of this feature. Note this name should follow Java identifier naming conventions (alpha-num and underscores, but can't start with a digit).- Specified by:
getName
in interfaceIFeatureInfo
- Specified by:
getName
in interfaceIMethodInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceIAnnotatedFeatureInfo
- Returns:
- A map of AnnotationInfo objects by type representing all the annotations associated with this feature, or an empty map if there are no annotations.
-
handleCall
- Specified by:
handleCall
in interfaceIMethodCallHandler
-