Package org.codehaus.groovy.reflection
Class CachedMethod
java.lang.Object
org.codehaus.groovy.reflection.ParameterTypes
groovy.lang.MetaMethod
org.codehaus.groovy.reflection.CachedMethod
- All Implemented Interfaces:
Cloneable,Comparable
- Author:
- Alex.Tkachman
-
Field Summary
FieldsFields inherited from class org.codehaus.groovy.reflection.ParameterTypes
isVargsMethod, nativeParamTypes, parameterTypes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcreatePogoMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class[] params) createPojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class[] params) createStaticMetaMethodSite(CallSite site, MetaClassImpl metaClass, Class[] params) booleanstatic CachedMethodintgetName()intprotected Class[]getPT()inthashCode()booleanbooleanbooleanfinal ObjectbooleanisStatic()final MethodtoString()Methods inherited from class groovy.lang.MetaMethod
checkParameters, clone, doMethodInvoke, equal, equal, getMopName, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, processDoMethodInvokeExceptionMethods inherited from class org.codehaus.groovy.reflection.ParameterTypes
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, setParametersTypes
-
Field Details
-
cachedClass
-
-
Constructor Details
-
CachedMethod
-
CachedMethod
-
-
Method Details
-
find
-
getPT
- Overrides:
getPTin classParameterTypes
-
getName
- Specified by:
getNamein classMetaMethod
-
getDescriptor
- Overrides:
getDescriptorin classMetaMethod
-
getDeclaringClass
- Specified by:
getDeclaringClassin classMetaMethod
-
invoke
- Specified by:
invokein classMetaMethod
-
getParamTypes
-
getReturnType
- Specified by:
getReturnTypein classMetaMethod
-
getParamsCount
public int getParamsCount() -
getModifiers
public int getModifiers()- Specified by:
getModifiersin classMetaMethod
-
getSignature
- Overrides:
getSignaturein classMetaMethod
-
setAccessible
-
isStatic
public boolean isStatic()- Overrides:
isStaticin classMetaMethod
-
compareTo
- Specified by:
compareToin interfaceComparable
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classMetaMethod
-
createPogoMetaMethodSite
-
createPojoMetaMethodSite
-
createStaticMetaMethodSite
-
hasPogoCallSiteConstructor
public boolean hasPogoCallSiteConstructor() -
hasPojoCallSiteConstructor
public boolean hasPojoCallSiteConstructor() -
hasStaticCallSiteConstructor
public boolean hasStaticCallSiteConstructor() -
getCachedMethod
-