Class ConstantString

java.lang.Object
org.apache.bcel.classfile.Constant
org.apache.bcel.classfile.ConstantString
All Implemented Interfaces:
Cloneable, ConstantObject, Node

public final class ConstantString extends Constant implements ConstantObject
This class is derived from the abstract Constant and represents a reference to a String object.
See Also:
  • Constructor Details

    • ConstantString

      Initialize from another object.
      Parameters:
      c - Source to copy.
    • ConstantString

      public ConstantString(int stringIndex)
      Parameters:
      stringIndex - Index of Constant_Utf8 in constant pool
  • Method Details