Enum Class MethodDelegationBinder.Record.Illegal
java.lang.Object
java.lang.Enum<MethodDelegationBinder.Record.Illegal>
net.bytebuddy.implementation.bind.MethodDelegationBinder.Record.Illegal
- All Implemented Interfaces:
Serializable
,Comparable<MethodDelegationBinder.Record.Illegal>
,Constable
,MethodDelegationBinder.Record
- Enclosing interface:
MethodDelegationBinder.Record
public static enum MethodDelegationBinder.Record.Illegal
extends Enum<MethodDelegationBinder.Record.Illegal>
implements MethodDelegationBinder.Record
A compiled method delegation binder that only yields illegal bindings.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bind.MethodDelegationBinder.Record
MethodDelegationBinder.Record.Illegal
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbind
(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner) Attempts a binding of a source method to this compiled target.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
Illegal
private Illegal()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
bind
public MethodDelegationBinder.MethodBinding bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner) Attempts a binding of a source method to this compiled target.- Specified by:
bind
in interfaceMethodDelegationBinder.Record
- Parameters:
implementationTarget
- The target of the current implementation onto which this binding is to be applied.source
- The method that is to be bound to thetarget
method.terminationHandler
- The termination handler to apply.methodInvoker
- The method invoker to use.assigner
- The assigner to use.- Returns:
- A binding representing this attempt to bind the
source
method to thetarget
method.
-