protected static class Advice.Dispatcher.Active.Resolved.ForMethodEnter extends Advice.Dispatcher.Active.Resolved implements Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Active.Resolved.ForMethodEnter, Advice.Dispatcher.Active.Resolved.ForMethodExit
Advice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExit
adviseMethod, offsetMappings
Modifier | Constructor and Description |
---|---|
protected |
ForMethodEnter(MethodDescription.InDefinedShape adviseMethod)
Creates a new resolved dispatcher for implementing method enter advise.
|
Modifier and Type | Method and Description |
---|---|
protected MethodVisitor |
apply(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod)
Applies a resolution for a given instrumented method.
|
TypeDescription |
getEnterType()
Returns the type that this dispatcher supplies as a result of its advise or a description of
void if
no type is supplied as a result of the enter advise. |
String |
toString() |
apply, equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
apply
protected ForMethodEnter(MethodDescription.InDefinedShape adviseMethod)
adviseMethod
- The represented advise method.public TypeDescription getEnterType()
Advice.Dispatcher.Resolved.ForMethodEnter
void
if
no type is supplied as a result of the enter advise.getEnterType
in interface Advice.Dispatcher.Resolved.ForMethodEnter
void
.protected MethodVisitor apply(MethodVisitor methodVisitor, MethodDescription.InDefinedShape instrumentedMethod)
Advice.Dispatcher.Active.Resolved
apply
in class Advice.Dispatcher.Active.Resolved
methodVisitor
- A method visitor for writing byte code to the instrumented method.instrumentedMethod
- A description of the instrumented method.Copyright © 2014–2016. All rights reserved.