|
|||||||||||
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.ConstNameAndType
Class representing a name and an associated type in the constant pool of a class file
Field Summary | |
static int |
MyTag
|
private ConstUtf8 |
theName
|
private int |
theNameIndex
|
private ConstUtf8 |
typeSignature
|
private int |
typeSignatureIndex
|
Fields inherited from class org.apache.jdo.impl.enhancer.classfile.ConstBasic |
index |
Constructor Summary | |
(package private) |
ConstNameAndType(ConstUtf8 n,
ConstUtf8 sig)
|
(package private) |
ConstNameAndType(int n,
int sig)
|
Method Summary | |
void |
changeSignature(ConstUtf8 newSig)
Modify the signature |
(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. |
ConstUtf8 |
name()
Return the name |
(package private) static ConstNameAndType |
read(java.io.DataInputStream input)
|
(package private) void |
resolve(ConstantPool p)
Resolve integer index references to the actual constant pool entries that they represent. |
ConstUtf8 |
signature()
Return the type signature associated with the name |
int |
tag()
The tag of this constant entry |
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 theName
private int theNameIndex
private ConstUtf8 typeSignature
private int typeSignatureIndex
Constructor Detail |
ConstNameAndType(ConstUtf8 n, ConstUtf8 sig)
ConstNameAndType(int n, int sig)
Method Detail |
public int tag()
tag
in class ConstBasic
public ConstUtf8 name()
public ConstUtf8 signature()
public void changeSignature(ConstUtf8 newSig)
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
static ConstNameAndType 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 |