|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LineNumberTableAttribute
Class representing a Line Number Table Attribute. The LineNumberTable attribute is an optional variable-length attribute in the attributes table of a Code attribute. It may be used by debuggers to determine which part of the Java virtual machine code array corresponds to a given line number in the original source file. If LineNumberTable attributes are present in the attributes table of a given Code attribute, then they may appear in any order. Furthermore, multiple LineNumberTable attributes may together represent a given line of a source file; that is, LineNumberTable attributes need not be one-to-one with source lines.
Method Summary | |
---|---|
CodeAttribute |
getAttributeContainer()
Get the CodeAttrbute which contains the current
LineNumberTableAttribute . |
java.util.List<LineNumberTableEntry> |
getLineNumberTable()
Each entry in the line_number_table array indicates that the line number in the original source file changes at a given point in the code array. |
int |
getLineNumberTableLength()
This method tells how many entries are stored inside the current line number table. |
void |
setAttributeContainer(CodeAttribute attr)
Set the CodeAttrbute which contains the current
LineNumberTableAttribute . |
Methods inherited from interface jef.dna.attributes.Attribute |
---|
clone, fromStream, getDna, getLength, getNameIndex, setDna, setNameIndex, toStream, updateRefs, validate |
Methods inherited from interface jef.dna.util.BytesCountable |
---|
getBytesCount |
Method Detail |
---|
int getLineNumberTableLength()
java.util.List<LineNumberTableEntry> getLineNumberTable()
List
containing LineNumberTableAttribute
instances.
void setAttributeContainer(CodeAttribute attr)
CodeAttrbute
which contains the current
LineNumberTableAttribute
.
attr
- The containerCodeAttribute getAttributeContainer()
CodeAttrbute
which contains the current
LineNumberTableAttribute
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |