@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface SuperMethod
Method
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
. The method is declared as public
and is invokable unless the instrumented type itself is not visible. Note that
requesting such a method exposes the super method to reflection.Modifier and Type | Optional Element and Description |
---|---|
boolean |
cached
Indicates if the instance assigned to this parameter should be stored in a static field for reuse.
|
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. |
boolean |
privileged
Indicates if the instance assigned to this parameter should be looked up using an
java.security.AccessController . |
public abstract boolean cached
true
if this method instance should be cached.public abstract boolean privileged
java.security.AccessController
.true
if this method should be looked up using an java.security.AccessController
.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.