/** * Constructs a ConstantValue attribute. * * @param cp a constant pool table. * @param index <code>constantvalue_index</code> * of <code>ConstantValue_attribute</code>. */ public ConstantAttribute(ConstPool cp, int index) { super(cp, tag); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a ConstantValue attribute. * * @param cp a constant pool table. * @param index <code>constantvalue_index</code> * of <code>ConstantValue_attribute</code>. */ public ConstantAttribute(ConstPool cp, int index) { super(cp, tag); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a ConstantValue attribute. * * @param cp a constant pool table. * @param index <code>constantvalue_index</code> * of <code>ConstantValue_attribute</code>. */ public ConstantAttribute(ConstPool cp, int index) { super(cp, tag); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a ConstantValue attribute. * * @param cp a constant pool table. * @param index <code>constantvalue_index</code> * of <code>ConstantValue_attribute</code>. */ public ConstantAttribute(ConstPool cp, int index) { super(cp, tag); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a ConstantValue attribute. * * @param cp a constant pool table. * @param index <code>constantvalue_index</code> * of <code>ConstantValue_attribute</code>. */ public ConstantAttribute(ConstPool cp, int index) { super(cp, tag); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a ConstantValue attribute. * * @param cp a constant pool table. * @param index <code>constantvalue_index</code> * of <code>ConstantValue_attribute</code>. */ public ConstantAttribute(ConstPool cp, int index) { super(cp, tag); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a ConstantValue attribute. * * @param cp a constant pool table. * @param index <code>constantvalue_index</code> * of <code>ConstantValue_attribute</code>. */ public ConstantAttribute(ConstPool cp, int index) { super(cp, tag); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }