Class type = slot.getType();
Class type = slot.getStaticType();
    private Object getConvertedValue(MetaSlot slot, Class<Converter> converterClass, Object value) {        Class type = slot.getType();        if (converterClass == null) {            if (value == null) {                return null;            }                        if (type.isAssignableFrom(value.getClass())) {                return value;            }            else {                if (value instanceof String) {                    return ConvertUtils.convert((String) value, type);                }                else {                    throw new RuntimeException("no converter given and default value '" + value + "' does not match type '" + type + "' of slot '" + slot.getName() + "'");                }            }        }        else {            try {                Converter converter = converterClass.newInstance();                return converter.convert(type, value);            } catch (Exception e) {                throw new RuntimeException("could not convert default value '" + value + "' using converter '" + converterClass + "'", e);            }        }    }