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 |
---|---|
protected class |
Advice.StackMapFrameHandler.Default.ForAdvice
A stack map frame handler for an advice method.
|
static class |
Advice.StackMapFrameHandler.NoOp
A non-operational stack map frame handler.
|
Modifier and Type | Field and Description |
---|---|
protected Advice.StackMapFrameHandler.ForAdvice |
Advice.Dispatcher.Inlining.CodeTranslationVisitor.stackMapFrameHandler
A handler for translating and injecting stack map frames.
|
protected Advice.StackMapFrameHandler.ForAdvice |
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter.stackMapFrameHandler
A handler for translating and injecting stack map frmes.
|
Modifier and Type | Method and Description |
---|---|
void |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler)
Applies this skip dispatcher.
|
void |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler) |
void |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForValue.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler) |
void |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForValue.Inverted.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler) |
void |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForType.apply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler) |
protected void |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForValue.doApply(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler,
boolean inverted)
Applies this skip dispatcher.
|
void |
Advice.Dispatcher.SuppressionHandler.Bound.onEnd(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
Invoked at the end of a method.
|
void |
Advice.Dispatcher.SuppressionHandler.NoOp.onEnd(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer) |
void |
Advice.Dispatcher.SuppressionHandler.Suppressing.Bound.onEnd(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer) |
void |
Advice.Dispatcher.SuppressionHandler.Bound.onEndSkipped(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer)
Invoked at the end of a method.
|
void |
Advice.Dispatcher.SuppressionHandler.NoOp.onEndSkipped(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer) |
void |
Advice.Dispatcher.SuppressionHandler.Suppressing.Bound.onEndSkipped(org.objectweb.asm.MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer returnValueProducer) |
Constructor and Description |
---|
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.