@Documented @Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface DefaultMethod
Method which invokes a default method 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 | cachedIndicates if the instance assigned to this parameter should be stored in a static field for reuse. | 
| boolean | nullIfImpossibleIndicates that  nullshould be assigned to this parameter if no default method is invokable. | 
| boolean | privilegedIndicates if the instance assigned to this parameter should be looked up using an  AccessController. | 
| Class<?> | targetTypeSpecifies an explicit type that declares the default method to invoke. | 
public abstract boolean cached
true if this method instance should be cached.public abstract boolean privileged
AccessController.true if this method should be looked up using an AccessController.public abstract Class<?> targetType
TargetType to indicate that the instrumented method declared the method.Copyright © 2014–2019. All rights reserved.