public static interface Advice.ArgumentHandler.ForInstrumentedMethod extends Advice.ArgumentHandler
Modifier and Type | Interface and Description |
---|---|
static class |
Advice.ArgumentHandler.ForInstrumentedMethod.Default
A default implementation of an argument handler for an instrumented method.
|
Advice.ArgumentHandler.Factory, Advice.ArgumentHandler.ForAdvice, Advice.ArgumentHandler.ForInstrumentedMethod
THIS_REFERENCE
Modifier and Type | Method and Description |
---|---|
Advice.ArgumentHandler.ForAdvice |
bindEnter(MethodDescription.TypeToken typeToken)
Binds an advice method as enter advice for this handler.
|
Advice.ArgumentHandler.ForAdvice |
bindExit(MethodDescription.TypeToken typeToken,
boolean skipThrowable)
Binds an advice method as exit advice for this handler.
|
List<TypeDescription> |
getNamedTypes()
Returns a list of the named types in their declared order.
|
boolean |
isCopyingArguments()
Returns
true if the original arguments are copied before invoking the instrumented method. |
int |
prepare(MethodVisitor methodVisitor)
Prepares this argument handler for future offset access.
|
int prepare(MethodVisitor methodVisitor)
methodVisitor
- The method visitor to which to write any potential byte code.Advice.ArgumentHandler.ForAdvice bindEnter(MethodDescription.TypeToken typeToken)
typeToken
- The type token of the advice method.Advice.ArgumentHandler.ForAdvice bindExit(MethodDescription.TypeToken typeToken, boolean skipThrowable)
typeToken
- The type token of the advice method.skipThrowable
- true
if no throwable is stored.boolean isCopyingArguments()
true
if the original arguments are copied before invoking the instrumented method.true
if the original arguments are copied before invoking the instrumented method.List<TypeDescription> getNamedTypes()
Copyright © 2014–2025. All rights reserved.