@Override
 public void safeRun(ContributedProcessorDescriptor desc) throws Exception {
   IQuickFixProcessor processor =
       (IQuickFixProcessor) desc.getProcessor(fCu, IQuickFixProcessor.class);
   if (processor != null && processor.hasCorrections(fCu, fProblemId)) {
     fHasCorrections = true;
   }
 }
 @Override
 public void safeRun(ContributedProcessorDescriptor desc) throws Exception {
   IQuickAssistProcessor processor =
       (IQuickAssistProcessor)
           desc.getProcessor(fContext.getCompilationUnit(), IQuickAssistProcessor.class);
   if (processor != null && processor.hasAssists(fContext)) {
     fHasAssists = true;
   }
 }
 @Override
 public void safeRun(ContributedProcessorDescriptor desc) throws Exception {
   IQuickAssistProcessor curr =
       (IQuickAssistProcessor)
           desc.getProcessor(fContext.getCompilationUnit(), IQuickAssistProcessor.class);
   if (curr != null) {
     IDartCompletionProposal[] res = curr.getAssists(fContext, fLocations);
     if (res != null) {
       for (int k = 0; k < res.length; k++) {
         fProposals.add(res[k]);
       }
     }
   }
 }