|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LocalVariableTableEntry
Class representing a Local Variable instance's table entry.
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
fromStream(java.io.DataInputStream dis)
Deserializes the given local variable table entry from the provided input stream. |
LocalVariableTableAttribute |
getAttributeContainer()
Set the reference to the LocalVariableTableAttribute containing the current
LocalVariableTableEntry. |
int |
getDescriptorIndex()
The value of the descriptor_index item must be a valid index into the constant_pool table. |
int |
getIndex()
The given local variable must be at index in the local variable array of the current frame. |
int |
getLength()
Returns the current value of length |
int |
getNameIndex()
The value of the name_index item must be a valid index into the constant_pool table. |
int |
getStartPc()
Returns the current value of the startPc |
void |
setAttributeContainer(LocalVariableTableAttribute attribute)
Set the reference to the LocalVariableTableAttribute containing the current
LocalVariableTableEntry. |
void |
setDescriptorIndex(int descIndex)
The value of the descriptor_index item must be a valid index into the constant_pool table. |
void |
setIndex(int index)
The given local variable must be at index in the local variable array of the current frame. |
void |
setLength(int length)
The given local variable must have a value at indices into the code array in the interval [start_pc, start_pc+length], that is, between start_pc and start_pc+length inclusive. |
void |
setNameIndex(int nameIndex)
The value of the name_index item must be a valid index into the constant_pool table. |
void |
setStartPc(int startPc)
The given local variable must have a value at indices into the code array in the interval [start_pc, start_pc+length], that is, between start_pc and start_pc+length inclusive. |
void |
toStream(java.io.DataOutputStream dos)
Serializes the given local variable table entry to the provided output stream. |
void |
updateRefs(int offset)
Updates all the references to entries into the constant pool table by the given offset |
void |
validate()
Perform validation over the current LocalVariableTableEntry |
| Methods inherited from interface jef.dna.util.BytesCountable |
|---|
getBytesCount |
| Method Detail |
|---|
void setStartPc(int startPc)
startPc - The value of the startPcint getStartPc()
startPc
startPcvoid setLength(int length)
length - The value of lengthint getLength()
length
lengthvoid setNameIndex(int nameIndex)
nameIndex - A valid index into the constant pool table as defined aboveint getNameIndex()
void setDescriptorIndex(int descIndex)
descIndex - A valid index into tha constant pool table as defined aboveint getDescriptorIndex()
void setIndex(int index)
index - A valid index as described aboveint getIndex()
void setAttributeContainer(LocalVariableTableAttribute attribute)
LocalVariableTableAttribute containing the current
LocalVariableTableEntry.
attribute - The containerLocalVariableTableAttribute getAttributeContainer()
LocalVariableTableAttribute containing the current
LocalVariableTableEntry.
void toStream(java.io.DataOutputStream dos)
throws java.io.IOException
dos - The stream the current local variable table entry has to be written to
java.io.IOException
void fromStream(java.io.DataInputStream dis)
throws java.io.IOException
dis - The stream the current local variable table entry has to be read from
java.io.IOExceptionvoid updateRefs(int offset)
offset - The offset for performing the update
void validate()
throws LocalVariableTableEntryValidationException,
MissingDnaContainerException,
MissingAttributeContainerException
LocalVariableTableEntry
LocalVariableTableEntryValidationException
MissingDnaContainerException
MissingAttributeContainerException
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 | |||||||||