|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LineNumberTableEntry
Class representing a Line Number Table instance's entry. 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
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
fromStream(java.io.DataInputStream dis)
Reads the line number table entry from the given input stream. |
LineNumberTableAttribute |
getAttributeContainer()
Get the LineNumberTableAttribute containing the current
LineNumberTableEntry |
int |
getLineNumber()
The value of the line_number item must give the corresponding line number in the original source file |
int |
getStartPc()
The value of the start_pc item must indicate the index into the code array at which the code for a new line in the original source file begins. |
void |
setAttributeContainer(LineNumberTableAttribute attr)
Set the LineNumberTableAttribute containing the current
LineNumberTableEntry |
void |
setLineNumber(int lineNumber)
The value of the line_number item must give the corresponding line number in the original source file |
void |
setStartPc(int startPc)
The value of the start_pc item must indicate the index into the code array at which the code for a new line in the original source file begins. |
void |
toStream(java.io.DataOutputStream dos)
Writes the line number table entry to the given output stream. |
void |
validate()
Performs the validation of the current LineNumberTableEntry. |
| Methods inherited from interface jef.dna.util.BytesCountable |
|---|
getBytesCount |
| Method Detail |
|---|
void setStartPc(int startPc)
startPc - A valid value as defined aboveint getStartPc()
void setLineNumber(int lineNumber)
lineNumber - The line number valueint getLineNumber()
void setAttributeContainer(LineNumberTableAttribute attr)
LineNumberTableAttribute containing the current
LineNumberTableEntry
attr - The containerLineNumberTableAttribute getAttributeContainer()
LineNumberTableAttribute containing the current
LineNumberTableEntry
void fromStream(java.io.DataInputStream dis)
throws java.io.IOException
dis - The input stream the line number table entry has to be read from
java.io.IOException - Something went wrong with the given stream
void toStream(java.io.DataOutputStream dos)
throws java.io.IOException
dos - The output stream the line number table entry has to be written to
java.io.IOException - Something went wrong with the given stream
void validate()
throws MissingAttributeContainerException,
LineNumberTableEntryValidationException
LineNumberTableEntry.
- Throws:
MissingAttributeContainerException
LineNumberTableEntryValidationException
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||