T
- The annotation type that activates this handler factory.public static interface Advice.AssignReturned.Handler.Factory<T extends Annotation>
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.AssignReturned.Handler.Factory.Simple<S extends Annotation>
A simple implementation of a
Advice.AssignReturned.ToArguments.Handler.Factory that resolves a given list of Handler s. |
Modifier and Type | Method and Description |
---|---|
Class<T> |
getAnnotationType()
Returns the annotation type that activates this handler factory.
|
List<Advice.AssignReturned.Handler> |
make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends T> annotation)
Resolves a list of handlers for this factory.
|
Class<T> getAnnotationType()
List<Advice.AssignReturned.Handler> make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends T> annotation)
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.