public static enum Advice.AssignReturned.ToAllArguments.Handler.Factory extends Enum<Advice.AssignReturned.ToAllArguments.Handler.Factory> implements Advice.AssignReturned.Handler.Factory<Advice.AssignReturned.ToAllArguments>
Advice.AssignReturned.ToAllArguments
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.ToAllArguments> |
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.ToAllArguments> annotation)
Resolves a list of handlers for this factory.
|
static Advice.AssignReturned.ToAllArguments.Handler.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.AssignReturned.ToAllArguments.Handler.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.AssignReturned.ToAllArguments.Handler.Factory INSTANCE
public static Advice.AssignReturned.ToAllArguments.Handler.Factory[] values()
for (Advice.AssignReturned.ToAllArguments.Handler.Factory c : Advice.AssignReturned.ToAllArguments.Handler.Factory.values()) System.out.println(c);
public static Advice.AssignReturned.ToAllArguments.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.ToAllArguments> getAnnotationType()
getAnnotationType
in interface Advice.AssignReturned.Handler.Factory<Advice.AssignReturned.ToAllArguments>
public List<Advice.AssignReturned.Handler> make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToAllArguments> annotation)
make
in interface Advice.AssignReturned.Handler.Factory<Advice.AssignReturned.ToAllArguments>
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–2022. All rights reserved.