| Modifier and Type | Field and Description |
|---|---|
| private boolean | prependLineNumber
|
| private final Label | startOfMethod
A label indicating the start of the method. |
| Access | Constructor and Description |
|---|---|
| public | LineNumberPrependingMethodVisitor(MethodVisitor
The method visitor to delegate to. methodVisitor)Creates a new line number prepending method visitor. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | onAfterExceptionTable()
Implements abstract net. |
| public void | visitLineNumber(int
a line number. This number refers to the source file from which the class was
compiled. line, Label the first instruction corresponding to this line number. start)Overrides net. |
| prependLineNumber | back to summary |
|---|---|
| private boolean prependLineNumber
| |
| startOfMethod | back to summary |
|---|---|
| private final Label startOfMethod A label indicating the start of the method. | |
| LineNumberPrependingMethodVisitor | back to summary |
|---|---|
| public LineNumberPrependingMethodVisitor(MethodVisitor methodVisitor) Creates a new line number prepending method visitor.
| |
| onAfterExceptionTable | back to summary |
|---|---|
| protected void onAfterExceptionTable() Implements abstract net. Doc from net. Invoked after the exception table was visited. Typically, the exception table is visited by ASM at the beginning of a method. It is however possible that a user adds exception table entries at a later point. Normally, this is however not meaningful use of ASM.
| |
| visitLineNumber | back to summary |
|---|---|
| public void visitLineNumber(int line, Label start) Overrides net. Doc from net. Visits a line number declaration. | |