net.bytebuddy.implementation.MethodDelegation , net.bytebuddy.implementation.bind.annotation.TargetMethodAnnotationDrivenBinder
| Modifier and Type | Class and Description |
|---|---|
| public static enum | Default.Binder
A binder for the |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: The type of the proxy or an indicator type, i.e.void.Determines the type that is implemented by the proxy. |
| public boolean |
| proxyType | back to summary |
|---|---|
| public Class Determines the type that is implemented by the proxy. When this value is set to its default value
| |
| serializableProxy | back to summary |
|---|---|
| public boolean serializableProxy() Determines if the generated proxy should be
| |
net.bytebuddy.implementation.bind.annotation.Default annotation.
| Modifier and Type | Class and Description |
|---|---|
| protected static interface | Default.Binder.TypeLocator
Locates the type which should be the base type of the created proxy. |
| Modifier and Type | Field and Description |
|---|---|
| public static final Default. | INSTANCE
The singleton instance. |
| private static final MethodDescription. | PROXY_TYPE
A method reference to the proxy type property. |
| private static final MethodDescription. | SERIALIZABLE_PROXY
A method reference to the serializable proxy property. |
| 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 Default. | |
| public static Default. |
| INSTANCE | back to summary |
|---|---|
| public static final Default. The singleton instance. | |
| PROXY_TYPE | back to summary |
|---|---|
| private static final MethodDescription. A method reference to the proxy type property. | |
| SERIALIZABLE_PROXY | back to summary |
|---|---|
| private static final MethodDescription. A method reference to the serializable proxy property. | |
| 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 Default. | |
| values | back to summary |
|---|---|
| public static Default. | |
| Modifier and Type | Class and Description |
|---|---|
| public static enum | Default.Binder.TypeLocator.ForParameterType
A type locator that yields the target parameter's type. |
| public static class | Default.Binder.TypeLocator.ForType
A type locator that returns a given type. |
| Modifier and Type | Method and Description |
|---|---|
| public TypeDescription | Returns: The proxy type.The type of the target parameter. parameterTypeResolves the target type. |
| resolve | back to summary |
|---|---|
| public TypeDescription resolve(TypeDescription. Resolves the target type.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Default. | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TypeDescription | resolve(TypeDescription.
The type of the target parameter. parameterTypeImplements net. |
| public static Default. | |
| public static Default. |
| INSTANCE | back to summary |
|---|---|
| public static final Default. The singleton instance. | |
| ForParameterType | back to summary |
|---|---|
| private ForParameterType() | |
| resolve | back to summary |
|---|---|
| public TypeDescription resolve(TypeDescription. Implements net. Doc from net. Resolves the target type.
| |
| valueOf | back to summary |
|---|---|
| public static Default. | |
| values | back to summary |
|---|---|
| public static Default. | |
| Modifier and Type | Field and Description |
|---|---|
| private final TypeDescription | typeDescription
The type to be returned upon resolution. |
| Access | Constructor and Description |
|---|---|
| protected | ForType(TypeDescription
The type to be returned upon resolution. typeDescription)Creates a new type locator for a given type. |
| Modifier and Type | Method and Description |
|---|---|
| protected static Default. | Returns: The appropriate type locator.The annotation's value. typeDescription)Resolves a type locator based upon an annotation value. |
| public TypeDescription | resolve(TypeDescription.
The type of the target parameter. parameterTypeImplements net. |
| typeDescription | back to summary |
|---|---|
| private final TypeDescription typeDescription The type to be returned upon resolution. | |
| ForType | back to summary |
|---|---|
| protected ForType(TypeDescription typeDescription) Creates a new type locator for a given type.
| |
| of | back to summary |
|---|---|
| protected static Default. Resolves a type locator based upon an annotation value.
| |
| resolve | back to summary |
|---|---|
| public TypeDescription resolve(TypeDescription. Implements net. Doc from net. Resolves the target type.
| |