Interface Advice.PostProcessor.Factory
- All Known Implementing Classes:
Advice.AssignReturned.Factory, Advice.PostProcessor.Factory.Compound, Advice.PostProcessor.NoOp
- Enclosing interface:
Advice.PostProcessor
public static interface Advice.PostProcessor.Factory
A factory for creating a
Advice.PostProcessor.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA compound factory for a post processor. -
Method Summary
Modifier and TypeMethodDescriptionmake(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.
-
Method Details
-
make
Advice.PostProcessor make(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.- Parameters:
annotations- The annotations of the advice method.returnType- The advice method's return type that is being post-processed.exit-trueif the advice is exit advice.- Returns:
- The created post processor.
-