Package gw.internal.gosu.parser
Class GosuMethodInfo
- java.lang.Object
-
- gw.lang.reflect.BaseFeatureInfo
-
- gw.internal.gosu.parser.GosuBaseAttributedFeatureInfo
-
- gw.internal.gosu.parser.AbstractGenericMethodInfo
-
- gw.internal.gosu.parser.GosuMethodInfo
-
- All Implemented Interfaces:
ICanHaveAnnotationDefault,IGosuMethodInfo,IAnnotatedFeatureInfo,IAttributedFeatureInfo,IDFSBackedFeatureInfo,IFeatureInfo,IGenericMethodInfo,IHasParameterInfos,IMethodInfo,IOptionalParamCapable,Comparable
public class GosuMethodInfo extends AbstractGenericMethodInfo implements IGosuMethodInfo
-
-
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
-
Fields inherited from interface gw.lang.reflect.IAnnotatedFeatureInfo
ANNOTATION_HELPER
-
-
Constructor Summary
Constructors Constructor Description GosuMethodInfo(IFeatureInfo container, DynamicFunctionSymbol dfs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object o)booleanequals(Object o)ObjectgetAnnotationDefault()IGosuMethodInfogetBackingMethodInfo()IMethodCallHandlergetCallHandler()IExpression[]getDefaultValueExpressions()protected List<IGosuAnnotation>getGosuAnnotations()static MethodgetMethod(Class<?> clazz, String strName, Class[] argClasses)String[]getParameterNames()StringgetReturnDescription()ITypegetReturnType()booleanhasAnnotationDefault()inthashCode()booleanisMethodForProperty()StringtoString()-
Methods inherited from class gw.internal.gosu.parser.AbstractGenericMethodInfo
ensureInferredTypeAssignableToBoundingType, getArgs, getDescription, getDfs, getDisplayName, getExceptions, getName, getParameterizedParameterTypes, getParameterizedParameterTypes2, getParameterizedReturnType, getParameters, getTypeVariables, inferTypeParametersFromArgumentTypes, inferTypeParametersFromArgumentTypes2, isAbstract, isDefaultImpl, isFinal, isInternal, isPrivate, isProtected, isPublic, isReified, isStatic
-
Methods inherited from class gw.internal.gosu.parser.GosuBaseAttributedFeatureInfo
getActualTypeInContainer, getDeclaredAnnotations, getDeprecatedReason, getOwnersType, isDeprecated, isHidden, isVisible
-
Methods inherited from class gw.lang.reflect.BaseFeatureInfo
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isInternalAPI, isScriptable
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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.IAttributedFeatureInfo
isAbstract, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isReified, isScriptable, isStatic, isVisible
-
Methods inherited from interface gw.lang.reflect.IDFSBackedFeatureInfo
getDfs
-
Methods inherited from interface gw.lang.reflect.IFeatureInfo
getContainer, getDescription, getDisplayName, getLocationInfo, getOwnersType
-
Methods inherited from interface gw.lang.reflect.IGenericMethodInfo
getParameterizedParameterTypes, getParameterizedParameterTypes2, getParameterizedReturnType, getTypeVariables, inferTypeParametersFromArgumentTypes, inferTypeParametersFromArgumentTypes2
-
Methods inherited from interface gw.lang.reflect.gs.IGosuMethodInfo
getArgs
-
Methods inherited from interface gw.lang.reflect.IMethodInfo
getExceptions, getName, getParameters
-
-
-
-
Constructor Detail
-
GosuMethodInfo
public GosuMethodInfo(IFeatureInfo container, DynamicFunctionSymbol dfs)
-
-
Method Detail
-
getReturnType
public IType getReturnType()
- Specified by:
getReturnTypein interfaceIMethodInfo
-
getCallHandler
public IMethodCallHandler getCallHandler()
- Specified by:
getCallHandlerin interfaceIMethodInfo
-
getReturnDescription
public String getReturnDescription()
- Specified by:
getReturnDescriptionin interfaceIMethodInfo
-
getDefaultValueExpressions
public IExpression[] getDefaultValueExpressions()
- Specified by:
getDefaultValueExpressionsin interfaceIOptionalParamCapable
-
getParameterNames
public String[] getParameterNames()
- Specified by:
getParameterNamesin interfaceIOptionalParamCapable
-
compareTo
public int compareTo(Object o)
- Specified by:
compareToin interfaceComparable
-
isMethodForProperty
public boolean isMethodForProperty()
- Specified by:
isMethodForPropertyin interfaceIGosuMethodInfo
-
getBackingMethodInfo
public IGosuMethodInfo getBackingMethodInfo()
- Specified by:
getBackingMethodInfoin interfaceIGosuMethodInfo
-
toString
public String toString()
- Overrides:
toStringin classBaseFeatureInfo
-
getGosuAnnotations
protected List<IGosuAnnotation> getGosuAnnotations()
- Overrides:
getGosuAnnotationsin classAbstractGenericMethodInfo
-
hasAnnotationDefault
public boolean hasAnnotationDefault()
- Specified by:
hasAnnotationDefaultin interfaceICanHaveAnnotationDefault
-
getAnnotationDefault
public Object getAnnotationDefault()
- Specified by:
getAnnotationDefaultin interfaceICanHaveAnnotationDefault
-
-