Annotation Type SuperCall
Parameters that are annotated with this annotation will be assigned a proxy for calling the instrumented method's
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.- See Also:
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDetermines if the injected proxy should invoke the default method to the intercepted method if a common super method invocation is not applicable.booleanAssignsnullto the parameter if it is impossible to invoke the super method or a possible dominant default method, if permitted.booleanDetermines if the generated proxy should beSerializable.
-
Element Details
-
serializableProxy
boolean serializableProxyDetermines if the generated proxy should beSerializable.- Returns:
trueif the generated proxy should beSerializable.
- Default:
false
-
fallbackToDefault
boolean fallbackToDefaultDetermines if the injected proxy should invoke the default method to the intercepted method if a common super method invocation is not applicable. For this to be possible, the default method must not be ambiguous.- Returns:
trueif the invocation should fall back to invoking the default method.
- Default:
true
-
nullIfImpossible
boolean nullIfImpossibleAssignsnullto the parameter if it is impossible to invoke the super method or a possible dominant default method, if permitted.- Returns:
trueif anullconstant should be assigned to this parameter in case that a legal binding is impossible.
- Default:
false
-