public static enum Advice.AssignReturned.ToReturned.Handler.Factory extends Enum<Advice.AssignReturned.ToReturned.Handler.Factory> implements Advice.AssignReturned.Handler.Factory<Advice.AssignReturned.ToReturned>
Advice.AssignReturned.ToReturned annotation.Advice.AssignReturned.Handler.Factory.Simple<S extends Annotation>| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Class<Advice.AssignReturned.ToReturned> |
getAnnotationType()
Returns the annotation type that activates this handler factory.
|
List<Advice.AssignReturned.Handler> |
make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToReturned> annotation)
Resolves a list of handlers for this factory.
|
static Advice.AssignReturned.ToReturned.Handler.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.AssignReturned.ToReturned.Handler.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.AssignReturned.ToReturned.Handler.Factory INSTANCE
public static Advice.AssignReturned.ToReturned.Handler.Factory[] values()
for (Advice.AssignReturned.ToReturned.Handler.Factory c : Advice.AssignReturned.ToReturned.Handler.Factory.values()) System.out.println(c);
public static Advice.AssignReturned.ToReturned.Handler.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 Class<Advice.AssignReturned.ToReturned> getAnnotationType()
getAnnotationType in interface Advice.AssignReturned.Handler.Factory<Advice.AssignReturned.ToReturned>public List<Advice.AssignReturned.Handler> make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToReturned> annotation)
make in interface Advice.AssignReturned.Handler.Factory<Advice.AssignReturned.ToReturned>advice - The advice method for which to resolve handlers.exit - true if this factory is applied for exit advice.annotation - The annotation that activated this handler factory.Copyright © 2014–2023. All rights reserved.