All Implemented Interfaces:
VMConstants

public class ConstString extends ConstValue
Class representing a class specification in the constant pool
  • Field Details

  • Method Details

    • tag

      public int tag()
      Return the tag for this constant
      Specified by:
      tag in class ConstBasic
    • value

      public ConstUtf8 value()
      Return the utf8 string calue
    • descriptor

      public String descriptor()
      Return the descriptor string for the constant type.
      Specified by:
      descriptor in class ConstValue
    • toString

      public String toString()
      A printable representation
      Overrides:
      toString in class Object