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 advise.
|
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.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) |
Constructor and Description |
---|
Advice(Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation)
Creates a new advice.
|
AdviceVisitor(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation)
Creates an advise visitor.
|
WithExceptionHandling(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation)
Creates a new advise visitor that captures exception by weaving try-catch blocks around user code.
|
WithoutExceptionHandling(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation)
Creates a new advise visitor that does not capture exceptions.
|
Copyright © 2014–2016. All rights reserved.