|
|||||||||||
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.ConstClass
Class representing a class reference in the constant pool
Field Summary | |
static int |
MyTag
|
private ConstUtf8 |
theClassName
|
private int |
theClassNameIndex
|
Fields inherited from class org.apache.jdo.impl.enhancer.classfile.ConstBasic |
index |
Constructor Summary | |
|
ConstClass(ConstUtf8 cname)
Construct a ConstClass |
(package private) |
ConstClass(int cname)
|
Method Summary | |
java.lang.String |
asString()
Return the class name in simple string form |
void |
changeClass(ConstUtf8 newName)
Change the class reference (not to be done lightly) |
ConstUtf8 |
className()
Return the class name |
(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. |
(package private) static ConstClass |
read(java.io.DataInputStream input)
|
(package private) void |
resolve(ConstantPool p)
Resolve integer index references to the actual constant pool entries that they represent. |
int |
tag()
Return the tag for this constant |
java.lang.String |
toString()
A printable representation |
Methods inherited from class org.apache.jdo.impl.enhancer.classfile.ConstBasic |
getIndex, indexAsString, setIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int MyTag
private ConstUtf8 theClassName
private int theClassNameIndex
Constructor Detail |
public ConstClass(ConstUtf8 cname)
ConstClass(int cname)
Method Detail |
public int tag()
tag
in class ConstBasic
public ConstUtf8 className()
public java.lang.String asString()
public java.lang.String toString()
public void changeClass(ConstUtf8 newName)
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
static ConstClass read(java.io.DataInputStream input) throws java.io.IOException
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 |