Class EnumMemberValue

java.lang.Object
javassist.bytecode.annotation.MemberValue
javassist.bytecode.annotation.EnumMemberValue

public class EnumMemberValue extends MemberValue
Enum constant value.
Author:
Bill Burke, Shigeru Chiba
  • Constructor Details

    • EnumMemberValue

      public EnumMemberValue(int type, int value, ConstPool cp)
      Constructs an enum constant value. The initial value is specified by the constant pool entries at the given indexes.
      Parameters:
      type - the index of a CONSTANT_Utf8_info structure representing the enum type.
      value - the index of a CONSTANT_Utf8_info structure. representing the enum value.
    • EnumMemberValue

      public EnumMemberValue(ConstPool cp)
      Constructs an enum constant value. The initial value is not specified.
  • Method Details