@SuppressWarnings("unchecked")
    public <T> TypeConverter<T> getTypeConverter(Class<T> clazz) {
        TypeConverter<T> converter = (TypeConverter<T>) TYPE_CONVERTERS.get(clazz);
        if (converter == null) {
            converter = value -> (T) value;
        }

        return converter;
    }
@SuppressWarnings("unchecked")
    public <T> TypeConverter<T> getTypeConverter(Class<T> clazz) {
        TypeConverter<T> converter = (TypeConverter<T>) TYPE_CONVERTERS.get(clazz);
        if (converter == null) {
            converter = value -> (T) value;
        }

        return converter;
    }
@ SuppressWarnings ( "unchecked" ) public < T > TypeConverter < T > getTypeConverter ( Class < T > clazz ) { TypeConverter < T > converter = ( TypeConverter < T > ) TYPE_CONVERTERS . get ( clazz ) ; if ( converter == null ) { converter = value -> ( T ) value ; } return converter ; }
TODO very ugly fix
TODO very ugly fix