public void newarray(Class type) { if (type.isPrimitive()) { backend.emit_int(Opcodes.NEWARRAY, Opcodes.newarray(type)); } else { backend.emit_type(Opcodes.ANEWARRAY, type.getName()); }
public void newarray() { newarray(Object.class);
    public void newarray(Class type) {        if (type.isPrimitive()) {            backend.emit_int(Opcodes.NEWARRAY, Opcodes.newarray(type));        } else {            backend.emit_type(Opcodes.ANEWARRAY, type.getName());        }    }