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.MetaDataHandler.Default
A default implementation of a meta data handler for an instrumented method.
|
protected static class |
Advice.MetaDataHandler.Default.WithoutStackSizeComputation
A default meta data handler that does not recompute the space requirements of an instrumented method.
|
protected static class |
Advice.MetaDataHandler.Default.WithStackSizeComputation
A default meta data handler that recomputes the space requirements of an instrumented method.
|
static class |
Advice.MetaDataHandler.NoOp
A non-operational meta data handler that does not translate any frames and does not compute stack sizes.
|
Modifier and Type | Field and Description |
---|---|
protected Advice.MetaDataHandler.ForInstrumentedMethod |
Advice.AdviceVisitor.metaDataHandler
A handler to use for translating meta embedded in the byte code.
|
Modifier and Type | Method and Description |
---|---|
protected static Advice.MetaDataHandler.ForInstrumentedMethod |
Advice.MetaDataHandler.Default.of(MethodDescription.InDefinedShape instrumentedMethod,
List<? extends TypeDescription> requiredTypes,
List<? extends TypeDescription> yieldedTypes,
int writerFlags,
int readerFlags)
Creates an appropriate meta data handler for an instrumented method based on the context of the method creation.
|
Modifier and Type | Method and Description |
---|---|
protected abstract MethodVisitor |
Advice.Dispatcher.Active.Resolved.apply(MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler,
MethodDescription.InDefinedShape instrumentedMethod)
Applies a resolution for a given instrumented method.
|
protected MethodVisitor |
Advice.Dispatcher.Active.Resolved.ForMethodEnter.apply(MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler,
MethodDescription.InDefinedShape instrumentedMethod) |
protected MethodVisitor |
Advice.Dispatcher.Active.Resolved.ForMethodExit.apply(MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler,
MethodDescription.InDefinedShape instrumentedMethod) |
MethodVisitor |
Advice.Dispatcher.Resolved.apply(String internalName,
String descriptor,
MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler,
MethodDescription.InDefinedShape instrumentedMethod)
Applies this dispatcher for a method that is discovered in the advice class's class file.
|
MethodVisitor |
Advice.Dispatcher.Inactive.apply(String internalName,
String descriptor,
MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler,
MethodDescription.InDefinedShape instrumentedMethod) |
MethodVisitor |
Advice.Dispatcher.Active.Resolved.apply(String internalName,
String descriptor,
MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler,
MethodDescription.InDefinedShape instrumentedMethod) |
Copyright © 2014–2016. All rights reserved.