Methods Summary |
---|
public void | changeSignature(ConstUtf8 newSig)Modify the signature
typeSignature = newSig;
|
void | formatData(java.io.DataOutputStream b)
b.writeShort(theName.getIndex());
b.writeShort(typeSignature.getIndex());
|
public ConstUtf8 | name()Return the name
return theName;
|
static com.sun.jdo.api.persistence.enhancer.classfile.ConstNameAndType | read(java.io.DataInputStream input)
int cname = input.readUnsignedShort();
int sig = input.readUnsignedShort();
return new ConstNameAndType (cname, sig);
|
void | resolve(ConstantPool p)
theName = (ConstUtf8) p.constantAt(theNameIndex);
typeSignature = (ConstUtf8) p.constantAt(typeSignatureIndex);
|
public ConstUtf8 | signature()Return the type signature associated with the name
return typeSignature;
|
public int | tag()The tag of this constant entry
/* public accessors */
return MyTag;
|
public java.lang.String | toString()A printable representation
return "CONSTANTNameAndType(" + indexAsString() + "): " + //NOI18N
"name(" + theName.toString() + ") " +//NOI18N
" type(" + typeSignature.toString() + ")";//NOI18N
|