//Look for XmlRootElement declarations
for(JavaClass javaClass:classesToProcess) {
if (helper.isAnnotationPresent(javaClass, XmlRootElement.class)) {
XmlRootElement rootElemAnnotation = (XmlRootElement) helper.getAnnotation(javaClass, XmlRootElement.class);
NamespaceInfo namespaceInfo;
JavaPackage pack = javaClass.getPackage();
namespaceInfo = this.packageToNamespaceMappings.get(pack.getQualifiedName());
String elementName = rootElemAnnotation.name();
if (elementName.equals("##default") || elementName.equals("")) {
if (javaClass.getName().indexOf("$") != -1) {
elementName = Introspector.decapitalize(javaClass.getName().substring(javaClass.getName().lastIndexOf('$') + 1));