public static class Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForType extends Object implements Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled, Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForType, Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForValue
Modifier | Constructor and Description |
---|---|
protected |
ForType(TypeDescription typeDescription)
Creates a new skip dispatcher for a given type.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(MethodVisitor methodVisitor,
Advice.MethodSizeHandler.ForAdvice methodSizeHandler,
Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler,
MethodDescription instrumentedMethod,
Advice.Dispatcher.Bound.SkipHandler skipHandler)
Applies this skip dispatcher.
|
boolean |
equals(Object other) |
int |
hashCode() |
static Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher |
of(MethodDescription adviceMethod)
Creates a skip dispatcher for an advice method.
|
protected static Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher |
of(TypeDescription typeDescription,
MethodDescription adviceMethod)
Creates a skip dispatcher for a given annotation type and advice method.
|
String |
toString() |
protected ForType(TypeDescription typeDescription)
typeDescription
- The type for which to skip instances.public static Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher of(MethodDescription adviceMethod)
adviceMethod
- The advice method for which to resolve a skip dispatcher.protected static Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher of(TypeDescription typeDescription, MethodDescription adviceMethod)
typeDescription
- The type that was specified as an annotation value.adviceMethod
- The advice method.public void apply(MethodVisitor methodVisitor, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, MethodDescription instrumentedMethod, Advice.Dispatcher.Bound.SkipHandler skipHandler)
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
apply
in interface Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher
methodVisitor
- The method visitor to write to.methodSizeHandler
- The method size handler of the advice method to use.stackMapFrameHandler
- The stack map frame handler of the advice method to use.instrumentedMethod
- The instrumented method.skipHandler
- The skip handler to use.Copyright © 2014–2016. All rights reserved.