public static enum TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty extends Enum<TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty> implements TargetMethodAnnotationDrivenBinder.DefaultsProvider<Annotation>
TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Iterator<Annotation> |
makeIterator(TypeDescription typeDescription,
MethodDescription source,
MethodDescription target)
Creates an iterator from which a value is pulled each time no annotation
|
static TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty INSTANCE
public static TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty[] values()
for (TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty c : TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty.values()) System.out.println(c);
public static TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty 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 Iterator<Annotation> makeIterator(TypeDescription typeDescription, MethodDescription source, MethodDescription target)
TargetMethodAnnotationDrivenBinder.DefaultsProvider
makeIterator
in interface TargetMethodAnnotationDrivenBinder.DefaultsProvider<Annotation>
typeDescription
- A description of the type that is instrumented.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.Copyright © 2014. All rights reserved.