Uses of Interface
net.bytebuddy.asm.Advice.PostProcessor
Packages that use Advice.PostProcessor
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
-
Uses of Advice.PostProcessor in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement Advice.PostProcessorModifier and TypeClassDescriptionstatic class
A post processor that uses the return value of an advice method to define values for fields, arguments, the instrumented method's return value or the exception being thrown.protected static class
A post processor implementation ofAdvice.AssignReturned
that works on the value of an array.protected static class
A post processor implementation ofAdvice.AssignReturned
that uses the returned value as such.static class
A compound post processor.static enum
A non-operational advice post processor.Fields in net.bytebuddy.asm declared as Advice.PostProcessorModifier and TypeFieldDescriptionprivate final Advice.PostProcessor
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter.postProcessor
The post processor to apply.private final Advice.PostProcessor
Advice.Dispatcher.Inlining.CodeTranslationVisitor.postProcessor
The post processor to apply.protected final Advice.PostProcessor
Advice.Dispatcher.Resolved.AbstractBase.postProcessor
The post processor to apply.Fields in net.bytebuddy.asm with type parameters of type Advice.PostProcessorModifier and TypeFieldDescriptionprivate final List
<Advice.PostProcessor> Advice.PostProcessor.Compound.postProcessors
The represented post processors.Methods in net.bytebuddy.asm that return Advice.PostProcessorModifier and TypeMethodDescriptionAdvice.AssignReturned.Factory.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.Factory.Compound.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.Factory.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.NoOp.make
(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Methods in net.bytebuddy.asm with parameters of type Advice.PostProcessorModifier and TypeMethodDescriptionprotected static Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.of
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, boolean methodExit) Resolves enter advice that only exposes the enter type if this is necessary.protected static Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Delegating.Resolved.ForMethodExit.of
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType) Resolves exit advice that handles exceptions depending on the specification of the exit advice.protected static Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.of
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader, boolean methodExit) Resolves enter advice that only exposes the enter type if this is necessary.protected static Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.of
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType) Resolves exit advice that handles exceptions depending on the specification of the exit advice.Constructors in net.bytebuddy.asm with parameters of type Advice.PostProcessorModifierConstructorDescriptionprotected
AbstractBase
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.OffsetMapping.Factory.AdviceType adviceType) Creates a new resolved version of a dispatcher.protected
AdviceMethodWriter
(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protected
CodeTranslationVisitor
(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, MethodDescription.InDefinedShape adviceMethod, Map<Integer, Advice.OffsetMapping.Target> offsetMappings, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.PostProcessor postProcessor, boolean exit) Creates a new code translation visitor.protected
ForMethodEnter
(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protected
ForMethodEnter
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice.protected
ForMethodEnter
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice.protected
ForMethodExit
(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protected
ForMethodExit
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice.protected
ForMethodExit
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType) Creates a new resolved dispatcher for implementing method exit advice.protected
Resolved
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.Delegator delegator) Creates a new resolved version of a dispatcher.protected
Resolved
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, AsmClassReader classReader) Creates a new resolved version of a dispatcher.protected
WithDiscardedEnterType
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.protected
WithDiscardedEnterType
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.protected
WithExceptionHandler
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, TypeDescription throwable, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.protected
WithExceptionHandler
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType, TypeDescription throwable) Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.protected
WithoutExceptionHandler
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.protected
WithoutExceptionHandler
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType) Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.protected
WithRetainedEnterType
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.protected
WithRetainedEnterType
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.Constructor parameters in net.bytebuddy.asm with type arguments of type Advice.PostProcessorModifierConstructorDescriptionprotected
Compound
(List<Advice.PostProcessor> postProcessors) Creates a new compound post processor.