AnnotationDescImpl aDesc = new AnnotationDescImpl();
// XMLSeeAlso is part of JAXB 2.1.2.
// The assumption is that this is a prereq for JAXWS 2.1; thus
// we can safely reference this class
XmlSeeAlso xmlSeeAlso = (XmlSeeAlso)
getAnnotation(cls, XmlSeeAlso.class);
if (xmlSeeAlso != null) {
aDesc._XmlSeeAlsoClasses = xmlSeeAlso.value();
}
QName qName = XMLRootElementUtil.getXmlRootElementQName(cls);
if (qName != null) {
aDesc._hasXmlRootElement = true;