public static enum DefaultCall.Binder extends Enum<DefaultCall.Binder> implements TargetMethodAnnotationDrivenBinder.ParameterBinder<DefaultCall>
DefaultCall
annotation.TargetMethodAnnotationDrivenBinder| Modifier and Type | Class and Description |
|---|---|
protected static interface |
DefaultCall.Binder.DefaultMethodLocator
A default method locator is responsible for looking up a default method to a given source method.
|
| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDelegationBinder.ParameterBinding<?> |
bind(AnnotationDescription.Loadable<DefaultCall> annotation,
MethodDescription source,
ParameterDescription target,
Implementation.Target implementationTarget,
Assigner assigner)
Creates a parameter binding for the given target parameter.
|
Class<DefaultCall> |
getHandledType()
The annotation type that is handled by this parameter binder.
|
String |
toString() |
static DefaultCall.Binder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultCall.Binder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultCall.Binder INSTANCE
public static DefaultCall.Binder[] values()
for (DefaultCall.Binder c : DefaultCall.Binder.values()) System.out.println(c);
public static DefaultCall.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<DefaultCall> getHandledType()
TargetMethodAnnotationDrivenBinder.ParameterBindergetHandledType in interface TargetMethodAnnotationDrivenBinder.ParameterBinder<DefaultCall>Annotation.annotationType() handled by this parameter binder.public MethodDelegationBinder.ParameterBinding<?> bind(AnnotationDescription.Loadable<DefaultCall> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner)
TargetMethodAnnotationDrivenBinder.ParameterBinderbind in interface TargetMethodAnnotationDrivenBinder.ParameterBinder<DefaultCall>annotation - The annotation that was cause for the delegation to this argument binder.source - The intercepted source method.target - Tge target parameter that is subject to be bound to
intercepting the source method.implementationTarget - The target of the current implementation that is subject to this binding.assigner - An assigner that can be used for applying the binding.public String toString()
toString in class Enum<DefaultCall.Binder>Copyright © 2014–2015. All rights reserved.