Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
Modifier and Type | Class and Description |
---|---|
static class |
Advice.Dispatcher.SuppressionHandler.NoOp
A non-operational suppression handler that does not suppress any method.
|
protected static class |
Advice.Dispatcher.SuppressionHandler.Suppressing.Bound
An active, bound suppression handler.
|
Modifier and Type | Field and Description |
---|---|
protected Advice.Dispatcher.SuppressionHandler.Bound |
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.suppressionHandler
A bound suppression handler that is used for suppressing exceptions of this advice method.
|
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.SuppressionHandler.Bound |
Advice.Dispatcher.SuppressionHandler.bind(StackManipulation exceptionHandler)
Binds the suppression handler for instrumenting a specific method.
|
Advice.Dispatcher.SuppressionHandler.Bound |
Advice.Dispatcher.SuppressionHandler.NoOp.bind(StackManipulation exceptionHandler) |
Advice.Dispatcher.SuppressionHandler.Bound |
Advice.Dispatcher.SuppressionHandler.Suppressing.bind(StackManipulation exceptionHandler) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.objectweb.asm.MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler)
Applies a resolution for a given instrumented method.
|
protected org.objectweb.asm.MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler) |
protected org.objectweb.asm.MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler) |
Constructor and Description |
---|
AdviceMethodInliner(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
org.objectweb.asm.ClassReader classReader)
Creates a new advice method inliner.
|
AdviceMethodInliner(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
org.objectweb.asm.ClassReader classReader)
Creates a new advice method inliner for a method exit.
|
AdviceMethodInliner(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
org.objectweb.asm.ClassReader classReader,
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher skipDispatcher)
Creates a new advice method inliner for a method enter.
|
AdviceMethodWriter(MethodDescription.InDefinedShape adviceMethod,
MethodDescription instrumentedMethod,
List<Advice.OffsetMapping.Target> offsetMappings,
org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler)
Creates a new advice method writer.
|
CodeTranslationVisitor(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
MethodDescription.InDefinedShape adviceMethod,
Map<Integer,Advice.OffsetMapping.Target> offsetMappings,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler)
Creates a new code translation visitor.
|
ForMethodEnter(MethodDescription.InDefinedShape adviceMethod,
MethodDescription instrumentedMethod,
List<Advice.OffsetMapping.Target> offsetMappings,
org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher skipDispatcher)
Creates a new advice method writer.
|
ForMethodEnter(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
MethodDescription.InDefinedShape adviceMethod,
Map<Integer,Advice.OffsetMapping.Target> offsetMappings,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler)
Creates a code translation visitor for translating exit advice.
|
ForMethodExit(MethodDescription.InDefinedShape adviceMethod,
MethodDescription instrumentedMethod,
List<Advice.OffsetMapping.Target> offsetMappings,
org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler)
Creates a new advice method writer.
|
ForMethodExit(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
MethodDescription.InDefinedShape adviceMethod,
Map<Integer,Advice.OffsetMapping.Target> offsetMappings,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
int padding)
Creates a code translation visitor for translating exit advice.
|
Copyright © 2014–2017. All rights reserved.