public static enum MethodDelegationBinder.AmbiguityResolver.Directional extends Enum<MethodDelegationBinder.AmbiguityResolver.Directional> implements MethodDelegationBinder.AmbiguityResolver
MethodDelegationBinder.AmbiguityResolver.Chain, MethodDelegationBinder.AmbiguityResolver.Directional, MethodDelegationBinder.AmbiguityResolver.NoOp, MethodDelegationBinder.AmbiguityResolver.Resolution| Enum Constant and Description |
|---|
LEFT
A resolver that always resolves to
MethodDelegationBinder.AmbiguityResolver.Resolution.LEFT. |
RIGHT
A resolver that always resolves to
MethodDelegationBinder.AmbiguityResolver.Resolution.RIGHT. |
DEFAULT| Modifier and Type | Method and Description |
|---|---|
MethodDelegationBinder.AmbiguityResolver.Resolution |
resolve(MethodDescription source,
MethodDelegationBinder.MethodBinding left,
MethodDelegationBinder.MethodBinding right)
Attempts to resolve to conflicting bindings.
|
String |
toString() |
static MethodDelegationBinder.AmbiguityResolver.Directional |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDelegationBinder.AmbiguityResolver.Directional[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodDelegationBinder.AmbiguityResolver.Directional LEFT
MethodDelegationBinder.AmbiguityResolver.Resolution.LEFT.public static final MethodDelegationBinder.AmbiguityResolver.Directional RIGHT
MethodDelegationBinder.AmbiguityResolver.Resolution.RIGHT.public static MethodDelegationBinder.AmbiguityResolver.Directional[] values()
for (MethodDelegationBinder.AmbiguityResolver.Directional c : MethodDelegationBinder.AmbiguityResolver.Directional.values()) System.out.println(c);
public static MethodDelegationBinder.AmbiguityResolver.Directional 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.AmbiguityResolver.Resolution resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right)
MethodDelegationBinder.AmbiguityResolverresolve in interface MethodDelegationBinder.AmbiguityResolversource - The source method that was bound to both target methods.left - The first successful binding of the source method.right - The second successful binding of the source method.MethodDelegationBinder.AmbiguityResolver.Resolution.LEFT
indicates a successful binding to the left binding while
MethodDelegationBinder.AmbiguityResolver.Resolution.RIGHT
indicates a successful binding to the right binding.public String toString()
toString in class Enum<MethodDelegationBinder.AmbiguityResolver.Directional>Copyright © 2014–2016. All rights reserved.