@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface SuperMethodHandle
java.lang.invoke.MethodHandle
which invokes the super
implementation of this method. If such a method is not available, this annotation causes that this delegation target cannot
be bound unless nullIfImpossible()
is set to true
.Modifier and Type | Optional Element and Description |
---|---|
boolean |
fallbackToDefault
Indicates that the assigned method should attempt the invocation of an unambiguous default method if no super method is available.
|
boolean |
nullIfImpossible
Indicates that
null should be assigned to this parameter if no super method is invokable. |
public abstract boolean fallbackToDefault
true
if a default method should be invoked if it is not ambiguous and no super class method is available.Copyright © 2014–2024. All rights reserved.