Class StringMemberValue


  • public class StringMemberValue
    extends MemberValue
    String constant value.
    Author:
    Bill Burke, Shigeru Chiba
    • Constructor Detail

      • StringMemberValue

        public StringMemberValue​(int index,
                                 ConstPool cp)
        Constructs a string constant value. The initial value is specified by the constant pool entry at the given index.
        Parameters:
        index - the index of a CONSTANT_Utf8_info structure.
      • StringMemberValue

        public StringMemberValue​(String str,
                                 ConstPool cp)
        Constructs a string constant value.
        Parameters:
        str - the initial value.
      • StringMemberValue

        public StringMemberValue​(ConstPool cp)
        Constructs a string constant value. The initial value is "".