protected static class Advice.AdviceVisitor.WithoutExceptionHandling extends Advice.AdviceVisitor
Advice.AdviceVisitor.CodeCopier, Advice.AdviceVisitor.WithExceptionHandling, Advice.AdviceVisitor.WithoutExceptionHandlingframeTranslator, instrumentedMethodapi, mv| Modifier | Constructor and Description |
|---|---|
protected |
WithoutExceptionHandling(MethodVisitor methodVisitor,
MethodDescription.InDefinedShape instrumentedMethod,
Advice.Dispatcher.Resolved.ForMethodEnter methodEnter,
Advice.Dispatcher.Resolved.ForMethodExit methodExit,
byte[] binaryRepresentation)
Creates a new advise visitor that does not capture exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onMethodEnd()
Writes the advise for completing the instrumented method.
|
protected void |
onMethodExit()
Writes the advise for exiting the instrumented method.
|
protected void |
onMethodStart()
Writes the advise for entering the instrumented method.
|
String |
toString() |
appendEnter, appendExit, variable, variable, visitCode, visitFrame, visitInsn, visitMaxs, visitVarInsnvisitAnnotation, visitAnnotationDefault, visitAttribute, visitEnd, visitFieldInsn, visitIincInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsnprotected WithoutExceptionHandling(MethodVisitor methodVisitor, MethodDescription.InDefinedShape instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, byte[] binaryRepresentation)
methodVisitor - The method visitor for the instrumented method.instrumentedMethod - A description of the instrumented method.methodEnter - The dispatcher to be used for method entry.methodExit - The dispatcher to be used for method exit.binaryRepresentation - The binary representation of the advise methods' class file.protected void onMethodStart()
Advice.AdviceVisitoronMethodStart in class Advice.AdviceVisitorprotected void onMethodExit()
Advice.AdviceVisitoronMethodExit in class Advice.AdviceVisitorprotected void onMethodEnd()
Advice.AdviceVisitoronMethodEnd in class Advice.AdviceVisitorCopyright © 2014–2016. All rights reserved.