|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.chaoswg.xtc4y.classdesc
Class RefCPEntry

java.lang.Objectcom.chaoswg.xtc4y.classdesc.ConstantPoolEntry
com.chaoswg.xtc4y.classdesc.RefCPEntry
- Direct Known Subclasses:
- FieldrefCPEntry, InterfaceMethodrefCPEntry, MethodrefCPEntry
- public abstract class RefCPEntry
- extends ConstantPoolEntry
this class represent a Ref constant pool entry and is an abstraction from all the reference CP Entried. No setter methods are implemented because the values may be changed in the returned constant pool entries.
| Field Summary | |
private ClassCPEntry |
classCP
|
private short |
classIndex
|
private NameAndTypeCPEntry |
natCP
|
private short |
natIndex
|
| Fields inherited from class com.chaoswg.xtc4y.classdesc.ConstantPoolEntry |
|
| Constructor Summary | |
protected |
RefCPEntry(byte tag,
ClassCPEntry classCP,
NameAndTypeCPEntry natCP)
Create a fieldref entry |
protected |
RefCPEntry(byte tag,
java.io.DataInputStream dis)
Creates a RefCPEntry and initializes it from a DataInputStream |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks if another RefCPEntry is equal to this. |
ClassCPEntry |
getClassCP()
|
NameAndTypeCPEntry |
getNameAndTypeCP()
|
protected void |
resolve(ConstantPool cp)
Resolve the internal stored indices thorugh the Constantpool |
java.lang.String |
toString()
print in a readable way |
protected void |
writeCPEntry(java.io.DataOutputStream dos,
ConstantPool cp)
Write the type specific constant pool entry information onto a DataOutputStream |
| Methods inherited from class com.chaoswg.xtc4y.classdesc.ConstantPoolEntry |
getTag, getUsedCPSpace, write |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
classCP
private ClassCPEntry classCP
natCP
private NameAndTypeCPEntry natCP
classIndex
private short classIndex
natIndex
private short natIndex
| Constructor Detail |
RefCPEntry
protected RefCPEntry(byte tag,
ClassCPEntry classCP,
NameAndTypeCPEntry natCP)
- Create a fieldref entry
RefCPEntry
protected RefCPEntry(byte tag,
java.io.DataInputStream dis)
throws java.io.IOException
- Creates a RefCPEntry and initializes it from a DataInputStream
| Method Detail |
resolve
protected void resolve(ConstantPool cp)
- Resolve the internal stored indices thorugh the Constantpool
- Specified by:
resolvein classConstantPoolEntry
writeCPEntry
protected void writeCPEntry(java.io.DataOutputStream dos, ConstantPool cp) throws java.io.IOException
- Write the type specific constant pool entry information onto a
DataOutputStream
- Specified by:
writeCPEntryin classConstantPoolEntry
getClassCP
public ClassCPEntry getClassCP()
getNameAndTypeCP
public NameAndTypeCPEntry getNameAndTypeCP()
equals
public boolean equals(java.lang.Object obj)
- Checks if another RefCPEntry is equal to this.
toString
public java.lang.String toString()
- print in a readable way
|
|||||||||
| Home >> All >> com >> chaoswg >> xtc4y >> [ classdesc overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC