Constructs an instance. This class is not publicly instantiable. Use {@link #THE_ONE}. // This space intentionally left blank.
// This space intentionally left blank.
{@inheritDoc} return 2;
return 2;
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); return regs.get(0).regString() + ", " + regs.get(1).regString() + ", " + cstString(insn);
RegisterSpecList regs = insn.getRegisters(); return regs.get(0).regString() + ", " + regs.get(1).regString() + ", " + cstString(insn);
{@inheritDoc} if (noteIndices) { return cstComment(insn); } else { return ""; }
if (noteIndices) { return cstComment(insn); } else { return ""; }
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); if (!((insn instanceof CstInsn) && (regs.size() == 2) && unsignedFitsInNibble(regs.get(0).getReg()) && unsignedFitsInNibble(regs.get(1).getReg()))) { return false; } CstInsn ci = (CstInsn) insn; int cpi = ci.getIndex(); if (! unsignedFitsInShort(cpi)) { return false; } Constant cst = ci.getConstant(); return (cst instanceof CstType) || (cst instanceof CstFieldRef);
RegisterSpecList regs = insn.getRegisters(); if (!((insn instanceof CstInsn) && (regs.size() == 2) && unsignedFitsInNibble(regs.get(0).getReg()) && unsignedFitsInNibble(regs.get(1).getReg()))) { return false; } CstInsn ci = (CstInsn) insn; int cpi = ci.getIndex(); if (! unsignedFitsInShort(cpi)) { return false; } Constant cst = ci.getConstant(); return (cst instanceof CstType) || (cst instanceof CstFieldRef);
{@inheritDoc} return null;
return null;
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); int cpi = ((CstInsn) insn).getIndex(); write(out, opcodeUnit(insn, makeByte(regs.get(0).getReg(), regs.get(1).getReg())), (short) cpi);
RegisterSpecList regs = insn.getRegisters(); int cpi = ((CstInsn) insn).getIndex(); write(out, opcodeUnit(insn, makeByte(regs.get(0).getReg(), regs.get(1).getReg())), (short) cpi);