Constructs an instance. This class is not publicly instantiable. Use {@link #THE_ONE}. // This space intentionally left blank.
// This space intentionally left blank.
{@inheritDoc} int offset = insn.getTargetOffset(); // Note: A zero offset would fit, but it is prohibited by the spec. return (offset != 0) && signedFitsInShort(offset);
int offset = insn.getTargetOffset(); // Note: A zero offset would fit, but it is prohibited by the spec. return (offset != 0) && signedFitsInShort(offset);
{@inheritDoc} return 2;
return 2;
{@inheritDoc} return branchString(insn);
return branchString(insn);
{@inheritDoc} return branchComment(insn);
return branchComment(insn);
{@inheritDoc} if (!((insn instanceof TargetInsn) && (insn.getRegisters().size() == 0))) { return false; } TargetInsn ti = (TargetInsn) insn; return ti.hasTargetOffset() ? branchFits(ti) : true;
if (!((insn instanceof TargetInsn) && (insn.getRegisters().size() == 0))) { return false; } TargetInsn ti = (TargetInsn) insn; return ti.hasTargetOffset() ? branchFits(ti) : true;
{@inheritDoc} int offset = ((TargetInsn) insn).getTargetOffset(); write(out, opcodeUnit(insn, 0), (short) offset);
int offset = ((TargetInsn) insn).getTargetOffset(); write(out, opcodeUnit(insn, 0), (short) offset);