|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjef.dna.constantInfo.impl.ConstantAncestor
jef.dna.constantInfo.impl.ConstantNameAndType
public class ConstantNameAndType
| Field Summary | |
|---|---|
protected static java.lang.String |
className
|
protected static Logger |
logger
|
protected java.lang.String |
type
|
| Fields inherited from class jef.dna.constantInfo.impl.ConstantAncestor |
|---|
cpt, tag |
| Constructor Summary | |
|---|---|
ConstantNameAndType()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
The clone() method will return a new instance whose reference to the
containing ConstantPoolTable instance is set to null. |
void |
fromStream(java.io.DataInputStream dis)
This method does not perform anything. |
int |
getDescriptorIndex()
The value of the descriptor_index item must be a valid index into the constant_pool table. |
int |
getNameIndex()
The value of the name_index item must be a valid index into the constant_pool table. |
protected void |
innerValidations(ConstantPoolTable cpt)
|
void |
setDescriptorIndex(int index)
The value of the descriptor_index item must be a valid index into the constant_pool table. |
void |
setNameIndex(int index)
The value of the name_index item must be a valid index into the constant_pool table. |
void |
toStream(java.io.DataOutputStream dos)
This method does not perform anything. |
void |
updateRefs(int offset)
This method does not perform anything. |
| Methods inherited from class jef.dna.constantInfo.impl.ConstantAncestor |
|---|
getCpt, getTag, getType, setCpt, setTag, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jef.dna.constantInfo.ConstantInfo |
|---|
getCpt, getTag, getType, setCpt, setTag, validate |
| Field Detail |
|---|
protected java.lang.String type
protected static java.lang.String className
protected static Logger logger
| Constructor Detail |
|---|
public ConstantNameAndType()
| Method Detail |
|---|
public int getNameIndex()
ConstNameAndType
getNameIndex in interface ConstNameAndTypepublic void setNameIndex(int index)
ConstNameAndType
setNameIndex in interface ConstNameAndTypeindex - The index of the CONSTANT_Utf8_info structurepublic int getDescriptorIndex()
ConstNameAndType
getDescriptorIndex in interface ConstNameAndTypepublic void setDescriptorIndex(int index)
ConstNameAndType
setDescriptorIndex in interface ConstNameAndTypeindex - The index of the CONSTANT_Utf8_info structure
public void toStream(java.io.DataOutputStream dos)
throws DnaSerializationException
ConstantAncestor
toStream in interface ConstantInfotoStream in class ConstantAncestordos - The DataOutputStream to write the object to
DnaSerializationException
public void fromStream(java.io.DataInputStream dis)
throws DnaDeserializationException
ConstantAncestor
fromStream in interface ConstantInfofromStream in class ConstantAncestordis - The DataInputStream for reading the Constant Info fields
DnaDeserializationExceptionpublic void updateRefs(int offset)
ConstantAncestor
updateRefs in interface ConstantInfoupdateRefs in class ConstantAncestoroffset - The offset to be applied
protected void innerValidations(ConstantPoolTable cpt)
throws ConstantInfoValidationException,
ConstantInfoAttributeOutOfRangeException
innerValidations in class ConstantAncestorConstantInfoValidationException
ConstantInfoAttributeOutOfRangeException
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone() method will return a new instance whose reference to the
containing ConstantPoolTable instance is set to null. It is up
to you appropriately setting it to the correct value.
clone in interface ConstantInfoclone in class ConstantAncestorjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||