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
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher |
make(MethodDescription.InDefinedShape delegate)
Creates a dispatcher for a given delegation method.
|
static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory INSTANCE
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory[] values()
for (MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory c : MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory.values()) System.out.println(c);
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.Factory 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 MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher make(MethodDescription.InDefinedShape delegate)
make
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Factory
delegate
- The method or constructor to delegate to.Copyright © 2014–2024. All rights reserved.