|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.umlv.corosol.classfile.constant.impl.AbstractJConstant
public abstract class AbstractJConstant
The base class of classes implementing a constant pool entry.
| Field Summary |
|---|
| Fields inherited from interface fr.umlv.corosol.classfile.constant.JConstant |
|---|
CONSTANT_CLASS, CONSTANT_DOUBLE, CONSTANT_FIELDREF, CONSTANT_FLOAT, CONSTANT_INTEGER, CONSTANT_INTERFACE_METHODREF, CONSTANT_LONG, CONSTANT_METHODREF, CONSTANT_NAME_AND_TYPE, CONSTANT_STRING, CONSTANT_UTF8 |
| Method Summary | |
|---|---|
JConstantPool |
getConstantPool()
Returns the constant pool of this constant pool entry. |
int |
getLength()
Returns the number of entries occupied by this entry in its constant pool. |
int |
getTag()
Returns the tag of this constant pool entry. |
void |
setConstantPool(JConstantPool constantPool)
Sets the constant pool of this constant pool entry. |
abstract java.lang.String |
toString()
Returns a string representation of this constant pool entry. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface fr.umlv.corosol.classfile.JClassFileItem |
|---|
readItem, writeItem |
| Method Detail |
|---|
public int getLength()
getLength in interface JConstantpublic int getTag()
getTag in interface JConstantpublic JConstantPool getConstantPool()
getConstantPool in interface JClassFileItempublic void setConstantPool(JConstantPool constantPool)
setConstantPool in interface JClassFileItemconstantPool - the constant Poolpublic abstract java.lang.String toString()
toString in interface JConstanttoString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||