Package net.bytebuddy.asm
Enum Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory
java.lang.Object
java.lang.Enum<MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory>
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory
- All Implemented Interfaces:
Serializable
,Comparable<MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory>
,Constable
,MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory
- Enclosing class:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation
protected static enum MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory
extends Enum<MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory>
implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory
A factory for creating a dispatcher for a regular method invocation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmake
(MethodDescription.InDefinedShape delegate) Creates a dispatcher for a given delegation method.static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory
Returns the enum constant of this class with the specified name.static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
public static final MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory INSTANCEThe singleton instance.
-
-
Constructor Details
-
Factory
private Factory()
-
-
Method Details
-
values
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory[] 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
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory valueOf(String name) 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
-
make
public MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher make(MethodDescription.InDefinedShape delegate) Creates a dispatcher for a given delegation method.- Specified by:
make
in interfaceMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory
- Parameters:
delegate
- The method or constructor to delegate to.- Returns:
- An appropriate dispatcher.
-