@HashCodeAndEqualsPlugin.Enhance public static class JavaDispatcher.Dispatcher.ForContainerCreation 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 |
ForContainerCreation(Class<?> target)
Creates a dispatcher for an array creation.
|
Modifier and Type | Method and Description |
---|---|
int |
apply(MethodVisitor methodVisitor,
Method method)
Implements this dispatcher in a generated proxy.
|
Object |
invoke(Object[] argument)
Invokes the proxied action.
|
protected ForContainerCreation(Class<?> target)
target
- The component type.public Object invoke(Object[] argument)
invoke
in interface JavaDispatcher.Dispatcher
argument
- The arguments provided.public int apply(MethodVisitor methodVisitor, Method method)
apply
in interface JavaDispatcher.Dispatcher
methodVisitor
- The method visitor to implement the method with.method
- The method being implemented.Copyright © 2014–2024. All rights reserved.