public class LineNumberPrependingMethodVisitor extends ExceptionTableSensitiveMethodVisitor
| Modifier and Type | Field and Description |
|---|---|
private boolean |
prependLineNumber
true if the first line number was not yet discovered. |
private org.objectweb.asm.Label |
startOfMethod
A label indicating the start of the method.
|
| Constructor and Description |
|---|
LineNumberPrependingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor)
Creates a new line number prepending method visitor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onAfterExceptionTable()
Invoked after the exception table was visited.
|
void |
visitLineNumber(int line,
org.objectweb.asm.Label start) |
onVisitFieldInsn, onVisitIincInsn, onVisitInsn, onVisitIntInsn, onVisitInvokeDynamicInsn, onVisitJumpInsn, onVisitLabel, onVisitLdcInsn, onVisitLookupSwitchInsn, onVisitMethodInsn, onVisitMethodInsn, onVisitMultiANewArrayInsn, onVisitTableSwitchInsn, onVisitTypeInsn, onVisitVarInsn, visitFieldInsn, visitIincInsn, visitInsn, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLookupSwitchInsn, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitTableSwitchInsn, visitTypeInsn, visitVarInsnvisitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFrame, visitInsnAnnotation, visitLocalVariable, visitLocalVariableAnnotation, visitMaxs, visitParameter, visitParameterAnnotation, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotationprivate final org.objectweb.asm.Label startOfMethod
private boolean prependLineNumber
true if the first line number was not yet discovered.public LineNumberPrependingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor)
methodVisitor - The method visitor to delegate to.protected void onAfterExceptionTable()
ExceptionTableSensitiveMethodVisitoronAfterExceptionTable in class ExceptionTableSensitiveMethodVisitorpublic void visitLineNumber(int line,
org.objectweb.asm.Label start)
visitLineNumber in class org.objectweb.asm.MethodVisitor