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.Delegating.Resolved.ForMethodExit
A resolved dispatcher for implementing method exit advice.
|
protected static class |
Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithExceptionHandler
Implementation of exit advice that handles exceptions.
|
protected static class |
Advice.Dispatcher.Delegating.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.
|
protected static class |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit
A resolved dispatcher for implementing method exit advice.
|
protected static class |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler
Implementation of exit advice that handles exceptions.
|
protected static class |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler
Implementation of exit advice that ignores exceptions.
|
Modifier and Type | Method and Description |
---|---|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Unresolved.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Inactive.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Inlining.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Delegating.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
Advice.Dispatcher.Unresolved methodEnter,
Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.
|
protected static Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Delegating.Resolved.ForMethodExit.of(MethodDescription.InDefinedShape adviceMethod,
Advice.PostProcessor postProcessor,
Advice.Delegator delegator,
Map<String,TypeDefinition> namedTypes,
List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
TypeDefinition enterType)
Resolves exit advice that handles exceptions depending on the specification of the exit advice.
|
protected static Advice.Dispatcher.Resolved.ForMethodExit |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.of(MethodDescription.InDefinedShape adviceMethod,
Advice.PostProcessor postProcessor,
Map<String,TypeDefinition> namedTypes,
Map<String,TypeDefinition> uninitializedNamedTypes,
List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
ClassReader classReader,
TypeDefinition 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)
Creates a new advice.
|
AdviceVisitor(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
StackManipulation exceptionHandler,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
List<? extends TypeDescription> postMethodTypes,
int writerFlags,
int readerFlags)
Creates a new advice visitor.
|
WithExceptionHandling(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
StackManipulation exceptionHandler,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
int writerFlags,
int readerFlags,
TypeDescription throwable)
Creates a new advice visitor that captures exception by weaving try-catch blocks around user code.
|
WithExitAdvice(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
StackManipulation exceptionHandler,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
List<? extends TypeDescription> postMethodTypes,
int writerFlags,
int readerFlags)
Creates an advice visitor that applies exit advice.
|
WithoutExceptionHandling(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
Assigner assigner,
StackManipulation exceptionHandler,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
int writerFlags,
int readerFlags)
Creates a new advice visitor that does not capture exceptions.
|
Copyright © 2014–2023. All rights reserved.