Morph.Binder
needs to be installed for an interface type that takes an argument of the array type java.lang.Object
and
returns a non-array type of java.lang.Object
. This is an alternative to using the
net.bytebuddy.implementation.bind.annotation.SuperCall
or
net.bytebuddy.implementation.bind.annotation.DefaultCall
annotations which call a super
method using the same arguments as the intercepted method was invoked with.
net.bytebuddy.implementation.MethodDelegation
, net.bytebuddy.implementation.bind.annotation.TargetMethodAnnotationDrivenBinder
Modifier and Type | Class and Description |
---|---|
public static class | Morph.Binder
A binder for the |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if a default method should be ignored.Determines if the proxy should attempt to invoke a default method. |
public Class | Returns: The target interface of a default method call.The type on which a default method should be invoked. |
public boolean | Returns: true if the proxy should be serializable.Determines if the injected proxy for this parameter should be serializable. |