Interface PoolEntry JAVA

  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Returns the constant pool this entry is from.
    int
    Returns the index within the constant pool corresponding to this entry.
    byte
    tag()
    Returns the constant pool tag that describes the type of this entry.
    int
    Returns the number of constant pool slots this entry consumes.

    Methods declared in interface java.lang.classfile.WritableElementPREVIEW Link icon

    writeTo
  • Method Details Link icon

    • constantPool Link icon

      ConstantPoolPREVIEW constantPool()
      Returns the constant pool this entry is from.
      Returns:
      the constant pool this entry is from
    • tag Link icon

      byte tag()
      Returns the constant pool tag that describes the type of this entry.
      Returns:
      the constant pool tag that describes the type of this entry
    • index Link icon

      int index()
      Returns the index within the constant pool corresponding to this entry.
      Returns:
      the index within the constant pool corresponding to this entry
    • width Link icon

      int width()
      Returns the number of constant pool slots this entry consumes.
      Returns:
      the number of constant pool slots this entry consumes