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 IAnnotatedFeatureInfo
IAnnotatedFeatureInfo.IAnnotationInfoHelperNested classes/interfaces inherited from interface IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIER -
Field Summary
FieldsFields inherited from interface IAnnotatedFeatureInfo
ANNOTATION_HELPER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDynamicMethodInfo(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 voidMethods inherited from class MethodInfoBase
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getDescription, getDisplayName, getExceptions, getOwnersType, getReturnDescription, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isDeprecated, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isScriptable, isStatic, isVisibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAttributedFeatureInfo
isReifiedMethods inherited from interface IFeatureInfo
getLocationInfo
-
Field Details
-
_strName
-
_paramTypes
-
_paramInfos
-
-
Constructor Details
-
DynamicMethodInfo
-
-
Method Details
-
makeParameters
private void makeParameters() -
getParameters
- Specified by:
getParametersin interfaceIHasParameterInfos- Specified by:
getParametersin interfaceIMethodInfo
-
getReturnType
- Specified by:
getReturnTypein interfaceIMethodInfo
-
getCallHandler
- Specified by:
getCallHandlerin interfaceIMethodInfo
-
getName
Description copied from interface:IFeatureInfoGets 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:
getNamein interfaceIFeatureInfo- Specified by:
getNamein interfaceIMethodInfo
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin 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:
handleCallin interfaceIMethodCallHandler
-