@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface SuperCall
super
implementation.
The proxy will both implement the
Callable
and the Runnable
interfaces
such that the annotated parameter must be assignable to any of those interfaces or be of the Object
type.Modifier and Type | Optional Element and Description |
---|---|
boolean |
fallbackToDefault
Determines if the injected proxy should invoke the default method to the intercepted method if a common
super method invocation is not applicable.
|
boolean |
nullIfImpossible
Assigns
null to the parameter if it is impossible to invoke the super method or a possible dominant default method, if permitted. |
boolean |
serializableProxy
Determines if the generated proxy should be
Serializable . |
public abstract boolean serializableProxy
Serializable
.true
if the generated proxy should be Serializable
.public abstract boolean fallbackToDefault
true
if the invocation should fall back to invoking the default method.public abstract boolean nullIfImpossible
null
to the parameter if it is impossible to invoke the super method or a possible dominant default method, if permitted.true
if a null
constant should be assigned to this parameter in case that a legal binding is impossible.Copyright © 2014–2025. All rights reserved.