| 
 | ||||||||||
| 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.ConstantField
public class ConstantField
| Field Summary | |
|---|---|
| protected  int | classIndex | 
| protected static java.lang.String | className | 
| protected static Logger | logger | 
| protected  int | nameAndTypeIndex | 
| protected  java.lang.String | type | 
| Fields inherited from class jef.dna.constantInfo.impl.ConstantAncestor | 
|---|
| cpt, tag | 
| Constructor Summary | |
|---|---|
| ConstantField() | |
| Method Summary | |
|---|---|
|  java.lang.Object | clone()The clone()method will return a new instance whose reference to the
 containingConstantPoolTableinstance is set tonull. | 
|  void | fromStream(java.io.DataInputStream dis)This method does not perform anything. | 
|  int | getClassIndex()The value of the class_index item must be a valid index into the constant_pool table. | 
|  int | getNameAndTypeIndex()The value of the name_and_type_index item must be a valid index into the constant_pool table. | 
| protected  void | innerValidations(ConstantPoolTable cpt) | 
|  void | setClassIndex(int index)The value of the class_index item must be a valid index into the constant_pool table. | 
|  void | setNameAndTypeIndex(int index)The value of the name_and_type_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. | 
| protected  void | validateClassIndex(ConstantPoolTable cpt) | 
| protected  void | validateNameAndTypeIndex(ConstantPoolTable cpt) | 
| 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 | 
|---|
@RefersToCpInfo protected int classIndex
@RefersToCpInfo protected int nameAndTypeIndex
protected java.lang.String type
protected static java.lang.String className
protected static Logger logger
| Constructor Detail | 
|---|
public ConstantField()
| Method Detail | 
|---|
public int getClassIndex()
ConstField
getClassIndex in interface ConstFieldpublic void setClassIndex(int index)
ConstField
setClassIndex in interface ConstFieldindex - The CONSTANT_Class_info index into the constant pool tablepublic int getNameAndTypeIndex()
ConstField
getNameAndTypeIndex in interface ConstFieldpublic void setNameAndTypeIndex(int index)
ConstField
setNameAndTypeIndex in interface ConstFieldindex - The CONSTANT_NameAndType_info index into the constant pool table
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
protected void validateClassIndex(ConstantPoolTable cpt)
                           throws ConstantInfoValidationException,
                                  ConstantInfoAttributeOutOfRangeException
ConstantInfoValidationException
ConstantInfoAttributeOutOfRangeException
protected void validateNameAndTypeIndex(ConstantPoolTable cpt)
                                 throws ConstantInfoValidationException,
                                        ConstantInfoAttributeOutOfRangeException
ConstantInfoValidationException
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 | |||||||||