WidgetRegistry widgetRegistry = new DefaultWidgetRegistry(classPool, classLoader, reflections);
Map<String, ComponentNameTransformer> transformers = ComponentMojoUtil.getAllTransformers(classPool,
reflections);
ComponentNameTransformer transformer = transformers.get(transformerName);
if (transformer == null) {
throw new ConfigurationException("The configured transformer wasn't found");
}