Class Advice.PostProcessor.Factory.Compound
java.lang.Object
net.bytebuddy.asm.Advice.PostProcessor.Factory.Compound
- All Implemented Interfaces:
Advice.PostProcessor.Factory
- Enclosing interface:
Advice.PostProcessor.Factory
@Enhance
public static class Advice.PostProcessor.Factory.Compound
extends Object
implements Advice.PostProcessor.Factory
A compound factory for a post processor.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Advice.PostProcessor.Factory
Advice.PostProcessor.Factory.Compound -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<Advice.PostProcessor.Factory> The represented post processor factories. -
Constructor Summary
ConstructorsConstructorDescriptionCompound(List<? extends Advice.PostProcessor.Factory> factories) Creates a compound post processor factory.Compound(Advice.PostProcessor.Factory... factory) Creates a compound post processor factory. -
Method Summary
Modifier and TypeMethodDescriptionmake(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.
-
Field Details
-
factories
The represented post processor factories.
-
-
Constructor Details
-
Compound
Creates a compound post processor factory.- Parameters:
factory- The represented post processor factories.
-
Compound
Creates a compound post processor factory.- Parameters:
factories- The represented post processor factories.
-
-
Method Details
-
make
public Advice.PostProcessor make(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.- Specified by:
makein interfaceAdvice.PostProcessor.Factory- 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.
-