Package net.bytebuddy.asm
Interface Advice.Delegator
-
- All Known Implementing Classes:
Advice.Delegator.ForDynamicInvocation
,Advice.Delegator.ForStaticInvocation
- Enclosing class:
- Advice
protected static interface Advice.Delegator
Materializes an advice invocation within a delegation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface 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.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, boolean exit)
Materializes an invocation.
-
-
-
Method Detail
-
apply
void apply(org.objectweb.asm.MethodVisitor methodVisitor, MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, boolean exit)
Materializes an invocation.- Parameters:
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.
-
-