@HashCodeAndEqualsPlugin.Enhance public static class JavaDispatcher.Dispatcher.ForNonStaticMethod extends Object implements JavaDispatcher.Dispatcher
JavaDispatcher.Dispatcher.ForConstructor, JavaDispatcher.Dispatcher.ForContainerCreation, JavaDispatcher.Dispatcher.ForDefaultValue, JavaDispatcher.Dispatcher.ForInstanceCheck, JavaDispatcher.Dispatcher.ForNonStaticMethod, JavaDispatcher.Dispatcher.ForStaticMethod, JavaDispatcher.Dispatcher.ForUnresolvedMethod| Modifier | Constructor and Description | 
|---|---|
| protected  | ForNonStaticMethod(Method method)Creates a dispatcher for invoking a non-static method. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | apply(org.objectweb.asm.MethodVisitor methodVisitor,
     Method method)Implements this dispatcher in a generated proxy. | 
| Object | invoke(Object[] argument)Invokes the proxied action. | 
protected ForNonStaticMethod(Method method)
method - The proxied method.public Object invoke(Object[] argument) throws Throwable
invoke in interface JavaDispatcher.Dispatcherargument - The arguments provided.Throwable - If any error occurs.public int apply(org.objectweb.asm.MethodVisitor methodVisitor,
                 Method method)
apply in interface JavaDispatcher.DispatchermethodVisitor - The method visitor to implement the method with.method - The method being implemented.Copyright © 2014–2021. All rights reserved.