throw new IllegalStateException(customPreProcessorClassName + " is configured to replace " +
preProcessorClass.getName() + ", but it wasn't possible to load it.");
}
}
ConfigPreProcessor preProcessor = ClassUtils.tryToInstantiateClass(preProcessorClass);
result.add(preProcessor.beforeAddToConfig(annotation, node));
}
else
{
result.add(annotation);
}