}
private static Document getAnnotationDocuments(XSElement element) {// to
// change
if (element.getAnnotations().length > 0) {
XSAnnotation xsAnnotation = element.getAnnotations()[0];
XSAppinfo[] xsAppinfos = xsAnnotation.getAppinfos();
XSAppinfo xsAppinfo = xsAppinfos[0];
// System.out.println(getAnnotationDocuments(xsAppinfo));
for (int i = 0; i < xsAppinfo.getChilds().length; i++) {
if (xsAppinfo.getChilds()[i] instanceof Document)