public static interface Advice.Dispatcher.Resolved
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Advice.Dispatcher.Resolved.ForMethodEnter
Represents a resolved dispatcher for entering a method.
|
static interface |
Advice.Dispatcher.Resolved.ForMethodExit
Represents a resolved dispatcher for exiting a method.
|
| Modifier and Type | Method and Description |
|---|---|
MethodVisitor |
apply(String internalName,
String descriptor,
MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod)
Applies this dispatcher for a method that is discovered in the advice class's class file.
|
MethodVisitor apply(String internalName, String descriptor, MethodVisitor methodVisitor, MethodDescription.InDefinedShape instrumentedMethod)
internalName - The discovered method's internal name.descriptor - The discovered method's descriptor.methodVisitor - The method visitor for writing the instrumented method.instrumentedMethod - A description of the instrumented method.null if the discovered method is of no interest.Copyright © 2014–2016. All rights reserved.