S - The annotation type that activates this handler factory.@HashCodeAndEqualsPlugin.Enhance public static class Advice.AssignReturned.Handler.Factory.Simple<S extends Annotation> extends Object implements Advice.AssignReturned.Handler.Factory<S>
Advice.AssignReturned.ToArguments.Handler.Factory that resolves a given list of Advice.AssignReturned.ToArguments.Handlers.Advice.AssignReturned.Handler.Factory.Simple<S extends Annotation>| Constructor and Description | 
|---|
| Simple(Class<S> type,
      List<Advice.AssignReturned.Handler> handlers)Creates a new simple handler. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<S> | getAnnotationType()Returns the annotation type that activates this handler factory. | 
| List<Advice.AssignReturned.Handler> | make(MethodDescription.InDefinedShape advice,
    boolean exit,
    AnnotationDescription.Loadable<? extends S> annotation)Resolves a list of handlers for this factory. | 
public Simple(Class<S> type, List<Advice.AssignReturned.Handler> handlers)
type - The annotation type that activates this handler factory.handlers - The handlers this factory should return.public Class<S> getAnnotationType()
getAnnotationType in interface Advice.AssignReturned.Handler.Factory<S extends Annotation>public List<Advice.AssignReturned.Handler> make(MethodDescription.InDefinedShape advice, boolean exit, AnnotationDescription.Loadable<? extends S> annotation)
make in interface Advice.AssignReturned.Handler.Factory<S extends 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–2024. All rights reserved.