java.lang.invoke.MethodHandle invoking
the super implementation.
net.bytebuddy.implementation.MethodDelegation , TargetMethodAnnotationDrivenBinder
| Modifier and Type | Class and Description |
|---|---|
| public static enum | SuperCallHandle.
A binder for handling the |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the invocation should fall back to invoking the default method.Determines if the method handle should invoke the default method to the intercepted method if a common super method invocation is not applicable. |
| public boolean | Returns: true if a null constant should be assigned to this parameter in case that a legal binding is impossible.Assigns |
| fallbackToDefault | back to summary |
|---|---|
| public boolean fallbackToDefault() Determines if the method handle 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.
| |
| nullIfImpossible | back to summary |
|---|---|
| public boolean nullIfImpossible() Assigns
| |
SuperCallHandle annotation.
TargetMethodAnnotationDrivenBinder
| Modifier and Type | Field and Description |
|---|---|
| private static final MethodDescription. | FALLBACK_TO_DEFAULT
A description of the |
| public static final SuperCallHandle. | 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. typing |
| public Class | getHandledType()
The annotation type that is handled by this parameter binder.
|
| public static SuperCallHandle. | |
| public static SuperCallHandle. |
| FALLBACK_TO_DEFAULT | back to summary |
|---|---|
| private static final MethodDescription. A description of the | |
| INSTANCE | back to summary |
|---|---|
| public static final SuperCallHandle. 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. 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 SuperCallHandle. | |
| values | back to summary |
|---|---|
| public static SuperCallHandle. | |