private void handleFaceletsResourceResolver(FacesConfigImpl facesConfig, Set<Class<?>> classes)
{
for (Class<?> clazz : classes)
{
FaceletsResourceResolver faceletsResourceResolver =
(FaceletsResourceResolver) clazz.getAnnotation(FaceletsResourceResolver.class);
if (faceletsResourceResolver != null)
{
facesConfig.addResourceResolver(clazz.getName());