Exemple #1
0
 @Override
 public void endIdleState(Map<ICompilerProject, Set<ICompilationUnit>> cusToUpdate) {
   buildSync.startAllowingFileScopeRequests();
   try {
     for (Entry<ICompilerProject, Set<ICompilationUnit>> e : cusToUpdate.entrySet()) {
       ((CompilerProject) e.getKey()).updatePublicAndInternalDefinitions(e.getValue());
     }
   } catch (InterruptedException e1) {
     assert false : "unlockAndUpdateCompilationUnits() should not be interrupted";
   } finally {
     buildSync.endAllowingFileScopeRequests();
     buildSync.endIdleState();
   }
 }