public static enum Default.Binder extends Enum<Default.Binder> implements TargetMethodAnnotationDrivenBinder.ParameterBinder<Default>
Default annotation.| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDelegationBinder.ParameterBinding<?> |
bind(AnnotationDescription.Loadable<Default> annotation,
int targetParameterIndex,
MethodDescription source,
MethodDescription target,
Instrumentation.Target instrumentationTarget,
Assigner assigner)
Creates a parameter binding for the given target parameter.
|
Class<Default> |
getHandledType()
The annotation type that is handled by this parameter binder.
|
static Default.Binder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Default.Binder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Default.Binder INSTANCE
public static Default.Binder[] values()
for (Default.Binder c : Default.Binder.values()) System.out.println(c);
public static Default.Binder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class<Default> getHandledType()
TargetMethodAnnotationDrivenBinder.ParameterBindergetHandledType in interface TargetMethodAnnotationDrivenBinder.ParameterBinder<Default>Annotation.annotationType() handled by this parameter binder.public MethodDelegationBinder.ParameterBinding<?> bind(AnnotationDescription.Loadable<Default> annotation, int targetParameterIndex, MethodDescription source, MethodDescription target, Instrumentation.Target instrumentationTarget, Assigner assigner)
TargetMethodAnnotationDrivenBinder.ParameterBinderbind in interface TargetMethodAnnotationDrivenBinder.ParameterBinder<Default>annotation - The annotation that was cause for the delegation to this argument binder.targetParameterIndex - The index of the target method's parameter to be bound.source - The source method that is bound to the target method.target - Tge target method that is subject to be bound by the source method.instrumentationTarget - The target of the current instrumentation that is subject to this binding.assigner - An assigner that can be used for applying the binding.Copyright © 2014. All rights reserved.