Class TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound.DefaultArgument
java.lang.Object
net.bytebuddy.implementation.bind.annotation.TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound.DefaultArgument
- All Implemented Interfaces:
Annotation
protected static class TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound.DefaultArgument
extends Object
implements Argument
A default implementation of an
Argument
annotation.-
Nested Class Summary
Nested classes/interfaces inherited from class net.bytebuddy.implementation.bind.annotation.Argument
Argument.Binder, Argument.BindingMechanic
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DefaultArgument
(int parameterIndex) Creates a new instance of an argument annotation. -
Method Summary
-
Field Details
-
VALUE
The name of the value annotation parameter.- See Also:
-
BINDING_MECHANIC
The name of the value binding mechanic parameter.- See Also:
-
parameterIndex
private final int parameterIndexThe index of the source method parameter to be bound.
-
-
Constructor Details
-
DefaultArgument
protected DefaultArgument(int parameterIndex) Creates a new instance of an argument annotation.- Parameters:
parameterIndex
- The index of the source method parameter to be bound.
-
-
Method Details
-
value
public int value() -
bindingMechanic
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
toString
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classObject
-