private StringConverter<?> getStringConverter(final Class<?> valueClass) {
    """
	Retrieves a {@link javafx.util.StringConverter} instance for the given class.
	@param valueClass
	Class to be used when looking for a matching string converter.
	@return
	A string converter that can handle values of the given class.
    """
        Class<? extends StringConverter<?>> aClass = StringConverterRetriever.retrieveConverterFor(valueClass);
        if (aClass == null) {
            throw new IllegalArgumentException(String.format("Can't find StringConverter for class '%s'.", valueClass.getName()));
        }
        try {
            return aClass.newInstance();
        } catch (final InstantiationException | IllegalAccessException e) {
            throw new IllegalStateException(e);
        }
    }
private StringConverter<?> getStringConverter(final Class<?> valueClass) {
        Class<? extends StringConverter<?>> aClass = StringConverterRetriever.retrieveConverterFor(valueClass);
        if (aClass == null) {
            throw new IllegalArgumentException(String.format("Can't find StringConverter for class '%s'.", valueClass.getName()));
        }
        try {
            return aClass.newInstance();
        } catch (final InstantiationException | IllegalAccessException e) {
            throw new IllegalStateException(e);
        }
    }
private StringConverter < ? > getStringConverter ( final Class < ? > valueClass ) { Class < ? extends StringConverter < ? > > aClass = StringConverterRetriever . retrieveConverterFor ( valueClass ) ; if ( aClass == null ) { throw new IllegalArgumentException ( String . format ( "Can't find StringConverter for class '%s'." , valueClass . getName ( ) ) ) ; } try { return aClass . newInstance ( ) ; } catch ( final InstantiationException | IllegalAccessException e ) { throw new IllegalStateException ( e ) ; } }
Retrieves a {@link javafx.util.StringConverter} instance for the given class.
@param valueClass
Class to be used when looking for a matching string converter.
@return
A string converter that can handle values of the given class.
Retrieves a {