final Item item; switch (jvmType) { case JvmType.INT: item = IntItem.createReg(reg); break; case JvmType.REFERENCE: item = RefItem.createRegister(reg); break; default: throw new IllegalArgumentException("Unknown JvmType " + jvmType); } push(item); }
final Item item = WordItem.createReg(jvmType, reg); Item.assertCondition(pool.request(reg, item), "request"); push(item); }
        public void writePUSH(int jvmType, Register reg) {            final Item item;            switch (jvmType) {            case JvmType.INT:                item = IntItem.createReg(reg);                break;            case JvmType.REFERENCE:                item = RefItem.createRegister(reg);                break;            default:                throw new IllegalArgumentException("Unknown JvmType " + jvmType);            }            push(item);        }