@HashCodeAndEqualsPlugin.Enhance protected static class JavaDispatcher.Dispatcher.ForDefaultValue.OfNonPrimitiveArray 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 |
OfNonPrimitiveArray(Object value,
Class<?> componentType)
Creates a new dispatcher for the default value of a non-primitive array.
|
| 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 static JavaDispatcher.Dispatcher |
of(Class<?> componentType)
Creates a new dispatcher.
|
protected static JavaDispatcher.Dispatcher of(Class<?> componentType)
componentType - The represented component type.public Object invoke(Object[] argument)
invoke in interface JavaDispatcher.Dispatcherargument - The arguments provided.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.