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 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
FieldsModifier and TypeFieldDescriptionprivate final List<Advice.PostProcessor> The represented post processors. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCompound(List<Advice.PostProcessor> postProcessors) Creates a new compound post processor. -
Method Summary
Modifier and TypeMethodDescriptionresolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.
-
Field Details
-
postProcessors
The represented post processors.
-
-
Constructor Details
-
Compound
Creates a new compound post processor.- Parameters:
postProcessors- The represented post processors.
-
-
Method Details
-
resolve
public StackManipulation resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.- Specified by:
resolvein interfaceAdvice.PostProcessor- Parameters:
instrumentedType- The instrumented type.instrumentedMethod- The instrumented method.assigner- The assigner to use.argumentHandler- The argument handler to use.stackMapFrameHandler- The argument handler for the instrumented method.exceptionHandler- The exception handler that is resolved for the instrumented method.- Returns:
- The stack manipulation to apply.
-