| java.lang.Object gnu.bytecode.Attribute gnu.bytecode.LineNumbersAttr
LineNumbersAttr | public class LineNumbersAttr extends Attribute (Code) | | Represents the contents of a standard "LineNumberTable" attribute.
author: Per Bothner |
Method Summary | |
final public int | getLength() Get the number of line number entries. | public int | getLineCount() | public short[] | getLineNumberTable() | public void | print(ClassTypeWriter dst) | void | put(String file, int linenumber, int PC) Add a new line number entry.
Parameters: file - the source file for this entry Parameters: linenumber - the number in the source file for this entry Parameters: PC - the byte code location for the code for this line number. | public void | put(int linenumber, int PC) Add a new line number entry.
Parameters: linenumber - the number in the source file for this entry Parameters: PC - the byte code location for the code for this line number. | public void | write(DataOutputStream dstr) |
linenumber_count | int linenumber_count(Code) | | |
linenumber_table | short[] linenumber_table(Code) | | |
LineNumbersAttr | public LineNumbersAttr(CodeAttr code)(Code) | | Add a new LineNumbersAttr to a CodeAttr.
|
LineNumbersAttr | public LineNumbersAttr(short[] numbers, CodeAttr code)(Code) | | |
getLength | final public int getLength()(Code) | | Get the number of line number entries.
|
getLineCount | public int getLineCount()(Code) | | |
getLineNumberTable | public short[] getLineNumberTable()(Code) | | |
put | void put(String file, int linenumber, int PC)(Code) | | Add a new line number entry.
Parameters: file - the source file for this entry Parameters: linenumber - the number in the source file for this entry Parameters: PC - the byte code location for the code for this line number. |
put | public void put(int linenumber, int PC)(Code) | | Add a new line number entry.
Parameters: linenumber - the number in the source file for this entry Parameters: PC - the byte code location for the code for this line number. The line number is supposed to have already been translated by a sourcemap. |
|
|