|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdo.api.persistence.enhancer.classfile.ConstBasic
com.sun.jdo.api.persistence.enhancer.classfile.ConstClass
public class ConstClass
Class representing a class reference in the constant pool
| Field Summary | |
|---|---|
static int |
MyTag
|
| Fields inherited from class com.sun.jdo.api.persistence.enhancer.classfile.ConstBasic |
|---|
index |
| Constructor Summary | |
|---|---|
ConstClass(ConstUtf8 cname)
Construct a ConstClass |
|
| Method Summary | |
|---|---|
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 |
int |
tag()
Return the tag for this constant |
String |
toString()
A printable representation |
| Methods inherited from class com.sun.jdo.api.persistence.enhancer.classfile.ConstBasic |
|---|
getIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int MyTag
| Constructor Detail |
|---|
public ConstClass(ConstUtf8 cname)
| Method Detail |
|---|
public int tag()
tag in class ConstBasicpublic ConstUtf8 className()
public String asString()
public String toString()
toString in class Objectpublic void changeClass(ConstUtf8 newName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||