public class ReflectionMetaMethod extends MetaMethod
| Modifier and Type | Field and Description |
|---|---|
protected CachedMethod |
method |
isVargsMethod, nativeParamTypes, parameterTypes| Constructor and Description |
|---|
ReflectionMetaMethod(CachedMethod method) |
| Modifier and Type | Method and Description |
|---|---|
MetaMethod |
getCachedMethod() |
CachedClass |
getDeclaringClass()
Gets the class where this method is declared
|
int |
getModifiers()
Returns the modifiers for this method
|
java.lang.String |
getName()
Returns the name of the method represented by this class
|
protected java.lang.Class[] |
getPT() |
java.lang.Class |
getReturnType()
Access the return type for this method
|
java.lang.Object |
invoke(java.lang.Object object,
java.lang.Object[] arguments)
Invoke this method
|
java.lang.String |
toString()
Returns a string representation of this method
|
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeExceptioncoerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypesprotected final CachedMethod method
public ReflectionMetaMethod(CachedMethod method)
public int getModifiers()
MetaMethodgetModifiers in class MetaMethodpublic java.lang.String getName()
MetaMethodgetName in class MetaMethodpublic java.lang.Class getReturnType()
MetaMethodgetReturnType in class MetaMethodpublic CachedClass getDeclaringClass()
MetaMethodgetDeclaringClass in class MetaMethodpublic java.lang.Object invoke(java.lang.Object object,
java.lang.Object[] arguments)
MetaMethodinvoke in class MetaMethodobject - The object this method should be invoked onarguments - The arguments for the method if applicablepublic java.lang.String toString()
MetaMethodtoString in class MetaMethodprotected java.lang.Class[] getPT()
getPT in class ParameterTypespublic MetaMethod getCachedMethod()