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 SuperMethodHandle#nullIfImpossible() is set to true.
net.bytebuddy.implementation.MethodDelegation , TargetMethodAnnotationDrivenBinder
| Modifier and Type | Class and Description |
|---|---|
| public static enum | SuperMethodHandle.Binder
A binder for the |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if a default method should be invoked if it is not ambiguous and no super class method is available.Indicates that the assigned method should attempt the invocation of an unambiguous default method if no super method is available. |
| public boolean | Returns: true if null should be assigned if no valid method can be assigned.Indicates that |
| fallbackToDefault | back to summary |
|---|---|
| public boolean fallbackToDefault() Indicates that the assigned method should attempt the invocation of an unambiguous default method if no super method is available.
| |
| nullIfImpossible | back to summary |
|---|---|
| public boolean nullIfImpossible() Indicates that
| |
SuperMethodHandle annotation.
| Modifier and Type | Field and Description |
|---|---|
| private static final MethodDescription. | FALLBACK_TO_DEFAULT
A description of the |
| public static final SuperMethodHandle. | INSTANCE
The singleton instance. |
| private static final MethodDescription. | NULL_IF_IMPOSSIBLE
A description of the |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public MethodDelegationBinder. | bind(AnnotationDescription.
The annotation that was cause for the delegation to this argument binder. annotation,The intercepted source method. source, ParameterDescription Tge target parameter that is subject to be bound to
intercepting the target, Implementation.source method.The target of the current implementation that is subject to this binding. implementationTarget,An assigner that can be used for applying the binding. assigner, Assigner.The typing to apply. typingImplements net. |
| public Class | getHandledType()
The annotation type that is handled by this parameter binder.
|
| public static SuperMethodHandle. | |
| public static SuperMethodHandle. |
| FALLBACK_TO_DEFAULT | back to summary |
|---|---|
| private static final MethodDescription. A description of the | |
| INSTANCE | back to summary |
|---|---|
| public static final SuperMethodHandle. The singleton instance. | |
| NULL_IF_IMPOSSIBLE | back to summary |
|---|---|
| private static final MethodDescription. A description of the | |
| Binder | back to summary |
|---|---|
| private Binder() | |
| bind | back to summary |
|---|---|
| public MethodDelegationBinder. Implements net. Doc from net. Creates a parameter binding for the given target parameter.
| |
| getHandledType | back to summary |
|---|---|
| public Class The annotation type that is handled by this parameter binder.
| |
| valueOf | back to summary |
|---|---|
| public static SuperMethodHandle. | |
| values | back to summary |
|---|---|
| public static SuperMethodHandle. | |