public static interface MethodDelegationBinder.AmbiguityResolver
Modifier and Type | Interface and Description |
---|---|
static class |
MethodDelegationBinder.AmbiguityResolver.Compound
A chain of
MethodDelegationBinder.AmbiguityResolver s
that are applied in the given order until two bindings can be resolved. |
static class |
MethodDelegationBinder.AmbiguityResolver.Directional
An ambiguity resolver that always resolves in the specified direction.
|
static class |
MethodDelegationBinder.AmbiguityResolver.NoOp
An ambiguity resolver that does not attempt to resolve a conflicting binding.
|
static class |
MethodDelegationBinder.AmbiguityResolver.Resolution
A resolution state of an attempt to resolve two conflicting bindings.
|
Modifier and Type | Field and Description |
---|---|
static MethodDelegationBinder.AmbiguityResolver |
DEFAULT
The default ambiguity resolver to use.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.AmbiguityResolver.Resolution |
resolve(MethodDescription source,
MethodDelegationBinder.MethodBinding left,
MethodDelegationBinder.MethodBinding right)
Attempts to resolve to conflicting bindings.
|
static final MethodDelegationBinder.AmbiguityResolver DEFAULT
MethodDelegationBinder.AmbiguityResolver.Resolution resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right)
source
- 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.Copyright © 2014–2024. All rights reserved.