Enum MethodDelegationBinder.AmbiguityResolver.NoOp
java.lang.Object
java.lang.Enum<MethodDelegationBinder.AmbiguityResolver.NoOp>
net.bytebuddy.implementation.bind.MethodDelegationBinder.AmbiguityResolver.NoOp
- All Implemented Interfaces:
Serializable, Comparable<MethodDelegationBinder.AmbiguityResolver.NoOp>, java.lang.constant.Constable, MethodDelegationBinder.AmbiguityResolver
- Enclosing interface:
MethodDelegationBinder.AmbiguityResolver
public static enum MethodDelegationBinder.AmbiguityResolver.NoOp
extends Enum<MethodDelegationBinder.AmbiguityResolver.NoOp>
implements MethodDelegationBinder.AmbiguityResolver
An ambiguity resolver that does not attempt to resolve a conflicting binding.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface MethodDelegationBinder.AmbiguityResolver
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
NoOp
private NoOp()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
resolve
public MethodDelegationBinder.AmbiguityResolver.Resolution resolve(MethodDescription source, MethodDelegationBinder.MethodBinding left, MethodDelegationBinder.MethodBinding right) Attempts to resolve to conflicting bindings.- Specified by:
resolvein interfaceMethodDelegationBinder.AmbiguityResolver- Parameters:
source- The source method that was bound to both target methods.left- The first successful binding of thesourcemethod.right- The second successful binding of thesourcemethod.- Returns:
- The resolution state when resolving a conflicting binding where
MethodDelegationBinder.AmbiguityResolver.Resolution.LEFTindicates a successful binding to theleftbinding whileMethodDelegationBinder.AmbiguityResolver.Resolution.RIGHTindicates a successful binding to therightbinding.
-