protected static enum Advice.Delegator.ForRegularInvocation.Factory extends Enum<Advice.Delegator.ForRegularInvocation.Factory> implements Advice.Delegator.Factory
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Advice.Delegator |
make(MethodDescription.InDefinedShape adviceMethod,
boolean exit)
Resolves a delegator.
|
static Advice.Delegator.ForRegularInvocation.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.Delegator.ForRegularInvocation.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.Delegator.ForRegularInvocation.Factory INSTANCE
public static Advice.Delegator.ForRegularInvocation.Factory[] values()
for (Advice.Delegator.ForRegularInvocation.Factory c : Advice.Delegator.ForRegularInvocation.Factory.values()) System.out.println(c);
public static Advice.Delegator.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 Advice.Delegator make(MethodDescription.InDefinedShape adviceMethod, boolean exit)
make
in interface Advice.Delegator.Factory
adviceMethod
- The advice method.exit
- true
if the advice is applied as exit advice.Copyright © 2014–2024. All rights reserved.