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 3;
return 3;
{@inheritDoc} return regRangeString(insn.getRegisters()) + ", " + cstString(insn);
return regRangeString(insn.getRegisters()) + ", " + cstString(insn);
{@inheritDoc} if (noteIndices) { return cstComment(insn); } else { return ""; }
if (noteIndices) { return cstComment(insn); } else { return ""; }
{@inheritDoc} if (!(insn instanceof CstInsn)) { return false; } CstInsn ci = (CstInsn) insn; int cpi = ci.getIndex(); Constant cst = ci.getConstant(); if (! unsignedFitsInShort(cpi)) { return false; } if (!((cst instanceof CstMethodRef) || (cst instanceof CstType))) { return false; } RegisterSpecList regs = ci.getRegisters(); int sz = regs.size(); return (regs.size() == 0) || (isRegListSequential(regs) && unsignedFitsInShort(regs.get(0).getReg()) && unsignedFitsInByte(regs.getWordCount()));
if (!(insn instanceof CstInsn)) { return false; } CstInsn ci = (CstInsn) insn; int cpi = ci.getIndex(); Constant cst = ci.getConstant(); if (! unsignedFitsInShort(cpi)) { return false; } if (!((cst instanceof CstMethodRef) || (cst instanceof CstType))) { return false; } RegisterSpecList regs = ci.getRegisters(); int sz = regs.size(); return (regs.size() == 0) || (isRegListSequential(regs) && unsignedFitsInShort(regs.get(0).getReg()) && unsignedFitsInByte(regs.getWordCount()));
{@inheritDoc} RegisterSpecList regs = insn.getRegisters(); int cpi = ((CstInsn) insn).getIndex(); int firstReg = (regs.size() == 0) ? 0 : regs.get(0).getReg(); int count = regs.getWordCount(); write(out, opcodeUnit(insn, count), (short) cpi, (short) firstReg);
RegisterSpecList regs = insn.getRegisters(); int cpi = ((CstInsn) insn).getIndex(); int firstReg = (regs.size() == 0) ? 0 : regs.get(0).getReg(); int count = regs.getWordCount(); write(out, opcodeUnit(insn, count), (short) cpi, (short) firstReg);