@SuppressWarnings({ "unchecked" })
public void addProducesToComponentFactory(ProcessAnnotatedType pat) {
final AnnotatedType defaultType = pat.getAnnotatedType();
Class javaClass = defaultType.getJavaClass();
if (ComponentFactory.class.isAssignableFrom(javaClass)) {
new ComponentFactoryAnnotatedTypeBuilderCreator(builder)
.create(javaClass);
}
}