void read(DataInput in) throws IOException { super.read(in); setLocal(in.readUnsignedByte()); _inc = in.readByte(); }
public void enterIIncInstruction(IIncInstruction obj) { _out.print(obj.getLocal() + " "); if (obj.getIncrement() < 0) _out.print("-"); _out.print(obj.getIncrement()); }
code.iinc().setIncrement(1).setLocal(idx);
public boolean equalsInstruction(Instruction other) { if (this == other) return true; if (!(other instanceof IIncInstruction)) return false; if (!super.equalsInstruction(other)) return false; IIncInstruction ins = (IIncInstruction) other; return getIncrement() == 0 || ins.getIncrement() == 0 || getIncrement() == ins.getIncrement(); }
void write(DataOutput out) throws IOException { super.write(out); out.writeByte(getLocal()); out.writeByte(_inc); } }
return new MathInstruction(this, opcode); case Constants.IINC: return new IIncInstruction(this); case Constants.I2L: case Constants.I2F:
code.iinc().setIncrement(1).setLocal(idx);
public boolean equalsInstruction(Instruction other) { if (this == other) return true; if (!(other instanceof IIncInstruction)) return false; if (!super.equalsInstruction(other)) return false; IIncInstruction ins = (IIncInstruction) other; return getIncrement() == 0 || ins.getIncrement() == 0 || getIncrement() == ins.getIncrement(); }
void write(DataOutput out) throws IOException { super.write(out); out.writeByte(getLocal()); out.writeByte(_inc); } }
return new MathInstruction(this, opcode); case Constants.IINC: return new IIncInstruction(this); case Constants.I2L: case Constants.I2F:
code.iinc().setIncrement(1).setLocal(idx);
void read(DataInput in) throws IOException { super.read(in); setLocal(in.readUnsignedByte()); _inc = in.readByte(); }
public void enterIIncInstruction(IIncInstruction obj) { _out.print(obj.getLocal() + " "); if (obj.getIncrement() < 0) _out.print("-"); _out.print(obj.getIncrement()); }
void read(Instruction other) { super.read(other); _inc = ((IIncInstruction) other).getIncrement(); }
code.iinc().setIncrement(1).setLocal(idx);
void read(Instruction other) { super.read(other); _inc = ((IIncInstruction) other).getIncrement(); }
code.iinc().setIncrement(1).setLocal(idx);
/** * Set the type of instruction this wide instruction modifies. */ public WideInstruction setInstruction(Instruction ins) { if (ins == null) return setInstruction(Constants.NOP); setInstruction(ins.getOpcode()); if (_ins == Constants.IINC) _inc = ((IIncInstruction) ins).getIncrement(); return this; }
/** * Set the type of instruction this wide instruction modifies. */ public WideInstruction setInstruction(Instruction ins) { if (ins == null) return setInstruction(Constants.NOP); setInstruction(ins.getOpcode()); if (_ins == Constants.IINC) _inc = ((IIncInstruction) ins).getIncrement(); return this; }