public static interface Advice.Dispatcher.Resolved extends Advice.Dispatcher
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.
|
Advice.Dispatcher.Active, Advice.Dispatcher.Inactive, Advice.Dispatcher.Resolved, Advice.Dispatcher.Unresolved
IGNORE_METHOD
Modifier and Type | Method and Description |
---|---|
MethodVisitor |
apply(String internalName,
String descriptor,
MethodVisitor methodVisitor,
Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler,
MethodDescription.InDefinedShape instrumentedMethod)
Applies this dispatcher for a method that is discovered in the advice class's class file.
|
isAlive
MethodVisitor apply(String internalName, String descriptor, MethodVisitor methodVisitor, Advice.MetaDataHandler.ForInstrumentedMethod metaDataHandler, 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.metaDataHandler
- A handler for translating meta data that is embedded into the instrumented method's byte code.instrumentedMethod
- A description of the instrumented method.null
if the discovered method is of no interest.Copyright © 2014–2016. All rights reserved.