### Question:
ClassConverterFactory implements TypeConverterFactory<String, Class> { @Override public TypeConverter<String, Class> createTypeConverter() { return value -> { try { return ClassUtil.forName(value.trim(), ClassConverterFactory.class); } catch (ClassNotFoundException e) { throw new TypeConverterException("Failed to decode '" + value + "' as a Java Class.", e); } }; }  @Override TypeConverter<String, Class> createTypeConverter(); @Override TypeConverterDescriptor<Class<String>, Class<Class>> getTypeConverterDescriptor();  }### Answer:
@Test public void test() { ClassConverterFactory classConverterFactory = new ClassConverterFactory(); assertEquals(String.class, classConverterFactory.createTypeConverter().convert(String.class.getName())); }