Class ShortMemberValue

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

public class ShortMemberValue extends MemberValue
Short integer constant value.
Author:
Bill Burke, Shigeru Chiba
  • Constructor Details

    • ShortMemberValue

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

      public ShortMemberValue(short s, ConstPool cp)
      Constructs a short constant value.
      Parameters:
      s - the initial value.
    • ShortMemberValue

      public ShortMemberValue(ConstPool cp)
      Constructs a short constant value. The initial value is 0.
  • Method Details