Class type; if (schema != null) { type = schema.getType(); } else {
if (type == null) {
    public String getLabel() {        Schema schema = RenderKit.getInstance().findSchema(getSchema());                Class type;        if (schema != null) {            type = schema.getType();        }        else {            type = getMetaObject().getType();        }                return RenderUtils.getSlotLabel(type, getName(), getBundle(), getLabelKey());    }