| 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 static class |
Advice.Dispatcher.Active.Resolved.ForMethodExit
A resolved dispatcher for implementing method exit advice.
|
protected static class |
Advice.Dispatcher.Active.Resolved.ForMethodExit.WithExceptionHandler
Implementation of exit advice that handles exceptions.
|
protected static class |
Advice.Dispatcher.Active.Resolved.ForMethodExit.WithoutExceptionHandler
Implementation of exit advice that ignores exceptions.
|
static class |
Advice.Dispatcher.Inactive
An implementation for inactive devise that does not write any byte code.
|
| Modifier and Type | Method and Description |
|---|---|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Unresolved.asMethodExitTo(Advice.Dispatcher.Resolved.ForMethodEnter dispatcher)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Inactive.asMethodExitTo(Advice.Dispatcher.Resolved.ForMethodEnter dispatcher) |
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Active.asMethodExitTo(Advice.Dispatcher.Resolved.ForMethodEnter dispatcher) |
protected static Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Active.Resolved.ForMethodExit.of(MethodDescription.InDefinedShape adviceMethod,
TypeDescription enterType)
Resolves exit advice that handles exceptions depending on the specification of the exit advice.
|
| Constructor and Description |
|---|
Advice(Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation)
Creates a new advice.
|
WithExceptionHandling(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation,
int writerFlags,
int readerFlags)
Creates a new advice visitor that captures exception by weaving try-catch blocks around user code.
|
WithExitAdvice(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
List<? extends TypeDescription> yieldedTypes,
byte[] binaryRepresentation,
int writerFlags,
int readerFlags)
Creates an advice visitor that applies exit advice.
|
WithoutExceptionHandling(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation,
int writerFlags,
int readerFlags)
Creates a new advice visitor that does not capture exceptions.
|
Copyright © 2014–2016. All rights reserved.