}
// Infer UI class name from component type.
RendererModel renderer = library.getRendererByType(rendererType);
String baseClassName = renderer.getBaseClass().getName();
Name name = Name.create(baseClassName);
name.setClassifier(null);
name.setMarkup(null);
String simpleName = name.getSimpleName();
simpleName = simpleName.replaceFirst("Base$", "");
name.setSimpleName(simpleName);
return new ClassName(name.toString());
}