Interface IConstantPoolEntry

All Known Subinterfaces:
IConstantPoolEntry2, IConstantPoolEntry3

public interface IConstantPoolEntry
Description of a constant pool entry as described in the JVM specifications. Its contents is initialized according to its kind. This interface may be implemented by clients. Because of that questionable choice, clients may have to cast to IConstantPoolEntry3 to get access to the relevant content.
Since:
2.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the class index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry.
    char[]
    Returns the class name for a CONSTANT_Class type entry.
    int
    Returns the name index for a CONSTANT_Class type entry.
    char[]
    Returns the class name for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref type entry.
    double
    Returns the double value for a CONSTANT_Double type entry.
    char[]
    Returns the field descriptor value for a CONSTANT_Fieldref type entry.
    char[]
    Returns the field name for a CONSTANT_Fieldref type entry.
    float
    Returns the float value for a CONSTANT_Float type entry.
    int
    Returns the integer value for a CONSTANT_Integer type entry.
    int
    Returns the type of this entry.
    long
    Returns the long value for a CONSTANT_Long type entry.
    char[]
    Returns the method descriptor value for a CONSTANT_Methodref or CONSTANT_InterfaceMethodref type entry.
    char[]
    Returns the method name for a CONSTANT_Methodref, CONSTANT_InterfaceMethodref or CONSTANT_InvokeDynamic type entry.
    int
    Returns the nameAndType index for a CONSTANT_Fieldref, CONSTANT_Methodref, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic type entry.
    int
    Returns the descriptor index for a CONSTANT_NameAndType type entry.
    int
    Returns the name index for a CONSTANT_NameAndType type entry.
    int
    Returns the string index for a CONSTANT_String type entry.
    Returns the string value for a CONSTANT_String type entry.
    int
    Returns the utf8 length for a CONSTANT_Utf8 type entry.
    char[]
    Returns the utf8 value for a CONSTANT_Utf8 type entry.