@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface Morph
Morph.Binder
needs to be installed for an interface type that takes an argument of the array type Object and
returns a non-array type of Object. This is an alternative to using the
SuperCall or
DefaultCall annotations which call a super
method using the same arguments as the intercepted method was invoked with.| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
defaultMethod
Determines if the proxy should attempt to invoke a default method.
|
Class<?> |
defaultTarget
The type on which a default method should be invoked.
|
boolean |
serializableProxy
Determines if the injected proxy for this parameter should be serializable.
|
public abstract boolean serializableProxy
true if the proxy should be serializable.public abstract boolean defaultMethod
defaultTarget() property instead which allows to determine an explicit interface
on which the default method should be invoked on. If this other method is used, this property is ignored.true if a default method should be ignored.public abstract Class<?> defaultTarget
defaultMethod() property is set to false, a normal super method invocation is attempted.Copyright © 2014–2016. All rights reserved.