protected static interface Advice.Delegator
| Modifier and Type | Interface and Description |
|---|---|
static class |
Advice.Delegator.ForDynamicInvocation
Invokes an advice method using a dynamic method call.
|
static class |
Advice.Delegator.ForStaticInvocation
Invokes an advice method using a static method call.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.objectweb.asm.MethodVisitor methodVisitor,
MethodDescription.InDefinedShape adviceMethod,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
boolean exit)
Materializes an invocation.
|
void apply(org.objectweb.asm.MethodVisitor methodVisitor,
MethodDescription.InDefinedShape adviceMethod,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
boolean exit)
methodVisitor - The method visitor to apply the materialization to.adviceMethod - The advice method to materialize.instrumentedType - The instrumented type.instrumentedMethod - The instrumented method.exit - true if the materialization is exit advice.Copyright © 2014–2022. All rights reserved.