|
||||||||||
| 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
jef.dna.constantInfo.impl.ConstantMethod
public class ConstantMethod
| 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 | |
|---|---|
ConstantMethod()
|
|
| 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 |
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 ConstantMethod()
| Method Detail |
|---|
public int getClassIndex()
ConstField
getClassIndex in interface ConstFieldgetClassIndex in class ConstantFieldpublic void setClassIndex(int index)
ConstField
setClassIndex in interface ConstFieldsetClassIndex in class ConstantFieldindex - The CONSTANT_Class_info index into the constant pool tablepublic int getNameAndTypeIndex()
ConstField
getNameAndTypeIndex in interface ConstFieldgetNameAndTypeIndex in class ConstantFieldpublic void setNameAndTypeIndex(int index)
ConstField
setNameAndTypeIndex in interface ConstFieldsetNameAndTypeIndex in class ConstantFieldindex - 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 ConstantFielddos - The DataOutputStream to write the object to
DnaSerializationException
public void fromStream(java.io.DataInputStream dis)
throws DnaDeserializationException
ConstantAncestor
fromStream in interface ConstantInfofromStream in class ConstantFielddis - The DataInputStream for reading the Constant Info fields
DnaDeserializationExceptionpublic void updateRefs(int offset)
ConstantAncestor
updateRefs in interface ConstantInfoupdateRefs in class ConstantFieldoffset - The offset to be applied
protected void innerValidations(ConstantPoolTable cpt)
throws ConstantInfoValidationException,
ConstantInfoAttributeOutOfRangeException
innerValidations in class ConstantFieldConstantInfoValidationException
ConstantInfoAttributeOutOfRangeException
protected void validateClassIndex(ConstantPoolTable cpt)
throws ConstantInfoValidationException,
ConstantInfoAttributeOutOfRangeException
validateClassIndex in class ConstantFieldConstantInfoValidationException
ConstantInfoAttributeOutOfRangeException
protected void validateNameAndTypeIndex(ConstantPoolTable cpt)
throws ConstantInfoValidationException,
ConstantInfoAttributeOutOfRangeException
validateNameAndTypeIndex in class ConstantFieldConstantInfoValidationException
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 ConstantFieldjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||