// a rendererType is not provided. The easy way to overcome this situation is create
// a dummy instance and check its rendererType. If is set the renderer if any will be
// scanned for annotations, if not it just do things as usual. It is unlikely to create
// a component and does not set a default renderer type if is required.
UIComponent component = context.getApplication().createComponent(declaration.getComponentType());
componentTagDeclarationLibrary.addComponent(declaration.getNamespace(),
declaration.getTagName(), declaration.getComponentType(), component.getRendererType());
}
compiler.addTagLibrary(componentTagDeclarationLibrary);
}