changes: asc Feb06 Made unpacking lazy
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private boolean | |
| private LineNumber[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| pack-priv | LineNumberTable(int
Index of name name_index, int Content length in bytes length, DataInputStream Input stream file, ConstantPool Array of constants constant_pool)Construct object from file stream. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ClassVisitor
Visitor object v)Implements abstract org. Implements org. |
| public final void | dump(DataOutputStream
Output file stream file)
Dump line number table attribute to file stream in binary format.
|
| public final LineNumber[] | |
| public int | Returns: corresponding line in source codebyte code offset pos)Map byte code positions to source code lines. |
| public final int | |
| public final void | |
| public final String | Returns: String representation.Overrides org. |
| private void |
| data | back to summary |
|---|---|
| private byte[] data | |
| isInPackedState | back to summary |
|---|---|
| private boolean isInPackedState | |
| table | back to summary |
|---|---|
| private LineNumber[] table | |
| tableLength | back to summary |
|---|---|
| private int tableLength | |
| LineNumberTable | back to summary |
|---|---|
| public LineNumberTable(LineNumberTable c) | |
| LineNumberTable | back to summary |
|---|---|
| public LineNumberTable(int nameIndex, int length, LineNumber[] lineNumberTable, ConstantPool constantPool) | |
| LineNumberTable | back to summary |
|---|---|
| pack-priv LineNumberTable(int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException Construct object from file stream.
| |
| accept | back to summary |
|---|---|
| public void accept(ClassVisitor v) Implements abstract org. Implements org. Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
| |
| dump | back to summary |
|---|---|
| public final void dump(DataOutputStream file) throws IOException Overrides org. Dump line number table attribute to file stream in binary format.
| |
| getLineNumberTable | back to summary |
|---|---|
public final LineNumber[] getLineNumberTable()
| |
| getSourceLine | back to summary |
|---|---|
| public int getSourceLine(int pos) Map byte code positions to source code lines.
| |
| getTableLength | back to summary |
|---|---|
public final int getTableLength()
| |
| setLineNumberTable | back to summary |
|---|---|
| public final void setLineNumberTable(LineNumber[] line_number_table) | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides org. Doc from java. Returns a string representation of the object. | |
| unpack | back to summary |
|---|---|
| private void unpack() | |