public class MixinInstanceMetaMethod
extends MetaMethod
MetaMethod for mixed in classes. This method delegates to the underlying method on the mixin instance.
| Fields inherited from class | Fields |
|---|---|
class MetaMethod |
EMPTY_ARRAY |
| Constructor and description |
|---|
MixinInstanceMetaMethod(MetaMethod method, MixinInMetaClass mixinInMetaClass)Constructs a new MixinInstanceMetaMethod. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public CachedClass |
getDeclaringClass()Returns the class that declares this mixin method. |
|
public int |
getModifiers()Returns the modifiers of the underlying metamethod. |
|
public String |
getName()Returns the name of the underlying metamethod. |
|
protected Class[] |
getPT() |
|
public Class |
getReturnType()Returns the return type of the underlying metamethod. |
|
public Object |
invoke(Object object, Object[] arguments)Invokes the underlying method on the mixin instance associated with the given object. |
| Methods inherited from class | Name |
|---|---|
class MetaMethod |
checkParameters, clone, doMethodInvoke, equal, equal, getDeclaringClass, getDescriptor, getModifiers, getMopName, getName, getReturnType, getSignature, invoke, isAbstract, isCacheable, isDefault, isMethod, isSame, processDoMethodInvokeException, toString |
class ParameterTypes |
coerceArgumentsToClasses, correctArguments, getNativeParameterTypes, getPT, getParameterTypes, isValidExactMethod, isValidExactMethod, isValidMethod, isValidMethod, isVargsMethod, isVargsMethod, setParametersTypes |
Constructs a new MixinInstanceMetaMethod.
method - the underlying metamethod from the mixinmixinInMetaClass - the mixin metadataReturns the class that declares this mixin method.
Returns the modifiers of the underlying metamethod.
Returns the name of the underlying metamethod.
Returns the return type of the underlying metamethod.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.