public static enum MethodDelegationBinder.AmbiguityResolver.Resolution extends Enum<MethodDelegationBinder.AmbiguityResolver.Resolution>
Enum Constant and Description |
---|
AMBIGUOUS
Describes a resolution state where both methods have inflicting dominance over each other.
|
LEFT
Describes a resolution state where the left method dominates the right method.
|
RIGHT
Describes a resolution state where the right method dominates the left method.
|
UNKNOWN
Describes a resolution state where no information about dominance could be gathered.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUnresolved()
Checks if this binding is unresolved.
|
MethodDelegationBinder.AmbiguityResolver.Resolution |
merge(MethodDelegationBinder.AmbiguityResolver.Resolution other)
Merges two resolutions in order to determine their compatibility.
|
String |
toString() |
static MethodDelegationBinder.AmbiguityResolver.Resolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDelegationBinder.AmbiguityResolver.Resolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodDelegationBinder.AmbiguityResolver.Resolution UNKNOWN
public static final MethodDelegationBinder.AmbiguityResolver.Resolution LEFT
public static final MethodDelegationBinder.AmbiguityResolver.Resolution RIGHT
public static final MethodDelegationBinder.AmbiguityResolver.Resolution AMBIGUOUS
public static MethodDelegationBinder.AmbiguityResolver.Resolution[] values()
for (MethodDelegationBinder.AmbiguityResolver.Resolution c : MethodDelegationBinder.AmbiguityResolver.Resolution.values()) System.out.println(c);
public static MethodDelegationBinder.AmbiguityResolver.Resolution 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 boolean isUnresolved()
true
if this binding is unresolved.public MethodDelegationBinder.AmbiguityResolver.Resolution merge(MethodDelegationBinder.AmbiguityResolver.Resolution other)
other
- The resolution this resolution is to be checked against.public String toString()
toString
in class Enum<MethodDelegationBinder.AmbiguityResolver.Resolution>
Copyright © 2014–2015. All rights reserved.