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