public class MixinInstanceMetaMethod extends MetaMethod
isVargsMethod, nativeParamTypes, parameterTypes
Constructor and Description |
---|
MixinInstanceMetaMethod(MetaMethod method,
MixinInMetaClass mixinInMetaClass) |
Modifier and Type | Method and Description |
---|---|
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
|
checkParameters, clone, doMethodInvoke, equal, equal, getDescriptor, getMopName, getSignature, isAbstract, isCacheable, isMethod, isPrivate, isProtected, isPublic, isSame, isStatic, processDoMethodInvokeException, toString
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes
public MixinInstanceMetaMethod(MetaMethod method, MixinInMetaClass mixinInMetaClass)
public int getModifiers()
MetaMethod
getModifiers
in class MetaMethod
public java.lang.String getName()
MetaMethod
getName
in class MetaMethod
public java.lang.Class getReturnType()
MetaMethod
getReturnType
in class MetaMethod
public CachedClass getDeclaringClass()
MetaMethod
getDeclaringClass
in class MetaMethod
public java.lang.Object invoke(java.lang.Object object, java.lang.Object[] arguments)
MetaMethod
invoke
in class MetaMethod
object
- The object this method should be invoked onarguments
- The arguments for the method if applicableprotected java.lang.Class[] getPT()
getPT
in class ParameterTypes