| java.lang.Object org.cojen.classfile.ConstantInfo
All known Subclasses: org.cojen.classfile.constant.ConstantIntegerInfo, org.cojen.classfile.constant.ConstantStringInfo, org.cojen.classfile.constant.ConstantLongInfo, org.cojen.classfile.constant.ConstantMethodInfo, org.cojen.classfile.constant.ConstantInterfaceMethodInfo, org.cojen.classfile.constant.ConstantUTFInfo, org.cojen.classfile.constant.ConstantNameAndTypeInfo, org.cojen.classfile.constant.ConstantDoubleInfo, org.cojen.classfile.constant.ConstantClassInfo, org.cojen.classfile.constant.ConstantFloatInfo, org.cojen.classfile.constant.ConstantFieldInfo,
ConstantInfo | abstract public class ConstantInfo (Code) | | This class corresponds to the cp_info structure as defined in
section 4.4 of The Java Virtual Machine Specification.
Subclasses should override the default hashCode and equals methods so
that the ConstantPool will only contain one instance of this constant.
author: Brian S O'Neill |
TAG_CLASS | final public static int TAG_CLASS(Code) | | |
TAG_DOUBLE | final public static int TAG_DOUBLE(Code) | | |
TAG_FIELD | final public static int TAG_FIELD(Code) | | |
TAG_FLOAT | final public static int TAG_FLOAT(Code) | | |
TAG_INTEGER | final public static int TAG_INTEGER(Code) | | |
TAG_INTERFACE_METHOD | final public static int TAG_INTERFACE_METHOD(Code) | | |
TAG_LONG | final public static int TAG_LONG(Code) | | |
TAG_METHOD | final public static int TAG_METHOD(Code) | | |
TAG_NAME_AND_TYPE | final public static int TAG_NAME_AND_TYPE(Code) | | |
TAG_STRING | final public static int TAG_STRING(Code) | | |
TAG_UTF8 | final public static int TAG_UTF8(Code) | | |
ConstantInfo | protected ConstantInfo(int tag)(Code) | | |
getEntryCount | protected int getEntryCount()(Code) | | |
getIndex | public int getIndex()(Code) | | The index of this constant in the constant pool. Is -1 if the
index has not yet been resolved. Constant pool indexes are resolved
when the constant pool is written out.
|
hasPriority | protected boolean hasPriority()(Code) | | |
|
|