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.ForMethodExitAdvice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExitadviseMethod, 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, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitapplyprotected ForMethodEnter(MethodDescription.InDefinedShape adviseMethod)
adviseMethod - The represented advise method.public TypeDescription getEnterType()
Advice.Dispatcher.Resolved.ForMethodEntervoid if
no type is supplied as a result of the enter advise.getEnterType in interface Advice.Dispatcher.Resolved.ForMethodEntervoid.protected MethodVisitor apply(MethodVisitor methodVisitor, MethodDescription.InDefinedShape instrumentedMethod)
Advice.Dispatcher.Active.Resolvedapply in class Advice.Dispatcher.Active.ResolvedmethodVisitor - A method visitor for writing byte code to the instrumented method.instrumentedMethod - A description of the instrumented method.Copyright © 2014–2016. All rights reserved.