gnu.bytecode
public class LineNumbersAttr extends Attribute
| Constructor Summary | |
|---|---|
| LineNumbersAttr(CodeAttr code) Add a new LineNumbersAttr to a CodeAttr. | |
| LineNumbersAttr(short[] numbers, CodeAttr code) | |
| Method Summary | |
|---|---|
| int | getLength() Get the number of line number entries. |
| int | getLineCount() |
| short[] | getLineNumberTable() |
| void | print(ClassTypeWriter dst) |
| void | put(int linenumber, int PC) Add a new line number entry. |
| void | write(DataOutputStream dstr) |
Parameters: linenumber the number in the source file for this entry PC the byte code location for the code for this line number.