|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.enhancer.classfile.ConstBasic
org.apache.jdo.impl.enhancer.classfile.ConstBasicMemberRef
The abstract base class used to represent the various type of references to members (fields/methods) within the constant pool.
Field Summary | |
protected ConstClass |
theClassName
|
protected int |
theClassNameIndex
|
protected ConstNameAndType |
theNameAndType
|
protected int |
theNameAndTypeIndex
|
Fields inherited from class org.apache.jdo.impl.enhancer.classfile.ConstBasic |
index |
Constructor Summary | |
(package private) |
ConstBasicMemberRef(ConstClass cname,
ConstNameAndType NT)
Constructor for "from scratch" creation |
(package private) |
ConstBasicMemberRef(int cnameIndex,
int NT_index)
Constructor for reading from a class file |
Method Summary | |
ConstClass |
className()
Return the name of the class defining the member |
(package private) void |
formatData(java.io.DataOutputStream b)
Write this Constant pool entry to the output stream |
boolean |
isEqual(java.util.Stack msg,
java.lang.Object obj)
Compares this instance with another for structural equality. |
ConstNameAndType |
nameAndType()
Return the name and type of the member |
(package private) void |
resolve(ConstantPool p)
Resolve integer index references to the actual constant pool entries that they represent. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.jdo.impl.enhancer.classfile.ConstBasic |
getIndex, indexAsString, setIndex, tag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected ConstClass theClassName
protected int theClassNameIndex
protected ConstNameAndType theNameAndType
protected int theNameAndTypeIndex
Constructor Detail |
ConstBasicMemberRef(ConstClass cname, ConstNameAndType NT)
ConstBasicMemberRef(int cnameIndex, int NT_index)
Method Detail |
public ConstClass className()
public ConstNameAndType nameAndType()
public java.lang.String toString()
public boolean isEqual(java.util.Stack msg, java.lang.Object obj)
isEqual
in class ConstBasic
void formatData(java.io.DataOutputStream b) throws java.io.IOException
ConstBasic
formatData
in class ConstBasic
java.io.IOException
void resolve(ConstantPool p)
ConstBasic
resolve
in class ConstBasic
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |