protected static class Advice.AdviceVisitor.WithoutExitAdvice extends Advice.AdviceVisitor
Advice.AdviceVisitor.CodeCopier, Advice.AdviceVisitor.WithExitAdvice, Advice.AdviceVisitor.WithoutExitAdviceinstrumentedMethod, metaDataHandlerapi, mv| Constructor and Description |
|---|
WithoutExitAdvice(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
byte[] binaryRepresentation,
int writerFlags,
int readerFlags)
Creates an advice visitor that does not apply exit advice.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onUserEnd()
Writes the advice for completing the instrumented method.
|
protected void |
onUserStart()
Writes the advice for entering the instrumented method.
|
String |
toString() |
append, variable, variable, visitCode, visitFrame, visitIincInsn, visitMaxs, visitVarInsnvisitAnnotation, visitAnnotationDefault, visitAttribute, visitEnd, visitFieldInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsnpublic WithoutExitAdvice(MethodVisitor methodVisitor, MethodDescription.InDefinedShape instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, byte[] binaryRepresentation, int writerFlags, int readerFlags)
methodVisitor - The method visitor for the instrumented method.instrumentedMethod - A description of the instrumented method.methodEnter - The dispatcher to be used for method entry.binaryRepresentation - The binary representation of the advice methods' class file.writerFlags - The ASM writer flags that were set.readerFlags - The ASM reader flags that were set.protected void onUserStart()
Advice.AdviceVisitoronUserStart in class Advice.AdviceVisitorprotected void onUserEnd()
Advice.AdviceVisitoronUserEnd in class Advice.AdviceVisitorCopyright © 2014–2016. All rights reserved.