Item.assertCondition(item.getKind() == expectedKind, "item.getKind() == expectedKind"); if (tos == stack.length) grow(); stack[ tos++] = item; }
Item.assertCondition(item.getKind() == expectedKind, "item.getKind() == expectedKind"); if (tos == stack.length) { grow(); } stack[tos++] = item; }
    final void push(Item item) {        Item.assertCondition(item.getKind() == expectedKind,                "item.getKind() == expectedKind");        if (tos == stack.length) grow();        stack[ tos++] = item;    }