public static enum MethodDelegationBinder.BindingResolver.Unique extends Enum<MethodDelegationBinder.BindingResolver.Unique> implements MethodDelegationBinder.BindingResolver
MethodDelegationBinder.BindingResolver.Default, MethodDelegationBinder.BindingResolver.StreamWriting, MethodDelegationBinder.BindingResolver.Unique
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.MethodBinding |
resolve(MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
MethodDescription source,
List<MethodDelegationBinder.MethodBinding> targets)
Resolves a method binding for the
source method. |
static MethodDelegationBinder.BindingResolver.Unique |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDelegationBinder.BindingResolver.Unique[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodDelegationBinder.BindingResolver.Unique INSTANCE
public static MethodDelegationBinder.BindingResolver.Unique[] values()
for (MethodDelegationBinder.BindingResolver.Unique c : MethodDelegationBinder.BindingResolver.Unique.values()) System.out.println(c);
public static MethodDelegationBinder.BindingResolver.Unique 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 MethodDelegationBinder.MethodBinding resolve(MethodDelegationBinder.AmbiguityResolver ambiguityResolver, MethodDescription source, List<MethodDelegationBinder.MethodBinding> targets)
source
method.resolve
in interface MethodDelegationBinder.BindingResolver
ambiguityResolver
- The ambiguity resolver to use.source
- The source method being bound.targets
- The possible target candidates. The list contains at least one element.Copyright © 2014–2022. All rights reserved.