private static <T> T tryInstantiateConverter(String optionName, Class<T> converterClass) { if (converterClass == NoConverter.class || converterClass == null) { return null; } try { return instantiateConverter(optionName, converterClass); } catch (InstantiationException | IllegalAccessException | InvocationTargetException ignore) { return null; } }