Package net.bytebuddy.asm
Class Advice.PostProcessor.Compound
- java.lang.Object
-
- net.bytebuddy.asm.Advice.PostProcessor.Compound
-
- All Implemented Interfaces:
Advice.PostProcessor
- Enclosing interface:
- Advice.PostProcessor
@Enhance public static class Advice.PostProcessor.Compound extends java.lang.Object implements Advice.PostProcessor
A compound post processor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.PostProcessor
Advice.PostProcessor.Compound, Advice.PostProcessor.Factory, Advice.PostProcessor.NoOp
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Advice.PostProcessor>
postProcessors
The represented post processors.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Compound(java.util.List<Advice.PostProcessor> postProcessors)
Creates a new compound post processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackManipulation
resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler)
Resolves this post processor for a given instrumented method.
-
-
-
Field Detail
-
postProcessors
private final java.util.List<Advice.PostProcessor> postProcessors
The represented post processors.
-
-
Constructor Detail
-
Compound
protected Compound(java.util.List<Advice.PostProcessor> postProcessors)
Creates a new compound post processor.- Parameters:
postProcessors
- The represented post processors.
-
-
Method Detail
-
resolve
public StackManipulation resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler)
Resolves this post processor for a given instrumented method.- Specified by:
resolve
in interfaceAdvice.PostProcessor
- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.assigner
- The assigner to use.argumentHandler
- The argument handler for the instrumented method.- Returns:
- The stack manipulation to apply.
-
-