/** * Constructs a SourceFile attribute. * * @param cp a constant pool table. * @param filename the name of the source file. */ public SourceFileAttribute(ConstPool cp, String filename) { super(cp, tag); int index = cp.addUtf8Info(filename); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a SourceFile attribute. * * @param cp a constant pool table. * @param filename the name of the source file. */ public SourceFileAttribute(ConstPool cp, String filename) { super(cp, tag); int index = cp.addUtf8Info(filename); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a SourceFile attribute. * * @param cp a constant pool table. * @param filename the name of the source file. */ public SourceFileAttribute(ConstPool cp, String filename) { super(cp, tag); int index = cp.addUtf8Info(filename); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a SourceFile attribute. * * @param cp a constant pool table. * @param filename the name of the source file. */ public SourceFileAttribute(ConstPool cp, String filename) { super(cp, tag); int index = cp.addUtf8Info(filename); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a SourceFile attribute. * * @param cp a constant pool table. * @param filename the name of the source file. */ public SourceFileAttribute(ConstPool cp, String filename) { super(cp, tag); int index = cp.addUtf8Info(filename); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a SourceFile attribute. * * @param cp a constant pool table. * @param filename the name of the source file. */ public SourceFileAttribute(ConstPool cp, String filename) { super(cp, tag); int index = cp.addUtf8Info(filename); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }
/** * Constructs a SourceFile attribute. * * @param cp a constant pool table. * @param filename the name of the source file. */ public SourceFileAttribute(ConstPool cp, String filename) { super(cp, tag); int index = cp.addUtf8Info(filename); byte[] bvalue = new byte[2]; bvalue[0] = (byte)(index >>> 8); bvalue[1] = (byte)index; set(bvalue); }