compUnitName = compUnit.getElementName();
sharedData.checkForProjectReset(compUnit.getJavaProject(), analysisInput.getProgressMonitor().isSome() ? analysisInput.getProgressMonitor().unwrap() : null);
retriever.retrieveRelationships(ResourcesPlugin.getWorkspace().getRoot(), sharedData.getHierarchy());
ConstraintChecker checker = new ConstraintChecker(constraints, getHierarchy(), variant, null);
NoVarsAliasContext aContext = new NoVarsAliasContext(retriever.getAllLabels());
RelationshipContext rels = retriever.getStartContext();
new ErrorReporterVisitor<AC>(this, checker, reporter, null, compUnitName).checkXMLError(aContext, rels, rootNode);
} catch (JavaModelException e) {
log.log(Level.SEVERE, "Could not set up compilation unit for analysis", e);