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.MethodSizeHandler.Default
A default implementation for a method size handler.
|
static class |
Advice.MethodSizeHandler.NoOp
A non-operational method size handler.
|
Modifier and Type | Field and Description |
---|---|
protected Advice.MethodSizeHandler |
Advice.AdviceVisitor.methodSizeHandler
A handler for computing the method size requirements.
|
Modifier and Type | Method and Description |
---|---|
protected static Advice.MethodSizeHandler |
Advice.MethodSizeHandler.Default.of(MethodDescription.InDefinedShape instrumentedMethod,
List<? extends TypeDescription> requiredTypes,
List<? extends TypeDescription> yieldedTypes,
int writerFlags)
Creates a method size handler applicable for the given instrumented method.
|
Modifier and Type | Method and Description |
---|---|
protected abstract MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.apply(MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler)
Applies a resolution for a given instrumented method.
|
protected MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.apply(MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler) |
protected MethodVisitor |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.apply(MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler) |
Advice.Dispatcher.Bound |
Advice.Dispatcher.Resolved.bind(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler)
Binds this dispatcher for resolution to a specific method.
|
Advice.Dispatcher.Bound |
Advice.Dispatcher.Inactive.bind(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler) |
Advice.Dispatcher.Bound |
Advice.Dispatcher.Inlining.Resolved.bind(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler) |
Advice.Dispatcher.Bound |
Advice.Dispatcher.Delegating.Resolved.bind(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler) |
protected abstract Advice.Dispatcher.Bound |
Advice.Dispatcher.Delegating.Resolved.resolve(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler)
Binds this dispatcher for resolution to a specific method.
|
protected Advice.Dispatcher.Bound |
Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.resolve(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler) |
protected Advice.Dispatcher.Bound |
Advice.Dispatcher.Delegating.Resolved.ForMethodExit.resolve(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler) |
Constructor and Description |
---|
AdviceMethodInliner(MethodDescription.InDefinedShape instrumentedMethod,
MethodVisitor methodVisitor,
Advice.MethodSizeHandler methodSizeHandler,
Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler,
Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler,
ClassReader classReader)
Creates a new code copier.
|
Copyright © 2014–2016. All rights reserved.