clazzAnnot = (Class<? extends Annotation>) clazz;
}
if (xmlAnnotTypeManager.hasStereoType(clazzAnnot))
{
throw new DeploymentException(
createConfigurationFailedMessage() + "Stereotype with given class : " + stereoTypeElement.getLocalName() + " is already defined in the XML");
}
xmlAnnotTypeManager.addStereoType(clazzAnnot, stereoTypeElement, clazzAnnot.getName(), createConfigurationFailedMessage());