@Override public void reconcile(final ReconcileContext context) { if( getCheckScope() == CheckScope.Disabled ) { return; } try { ICompilationUnit cunit = context.getWorkingCopy(); if( cunit.isStructureKnown() ) { MockASTVisitor visitor = new MockASTVisitor(cunit); context.getAST3().accept(visitor); CategorizedProblem[] probs = visitor.getProblems(); if (probs.length != 0) { context.putProblems(probs[0].getMarkerType(), probs); } } } catch (JavaModelException e) { Activator.log(e); } }