try { IQuickFixProcessor processor= (IQuickFixProcessor) processors[i].getProcessor(cu); if (processor != null && processor.hasCorrections(cu, problemId)) { return true; } } catch (CoreException e) {
collector.process(processors[i]); if (collector.hasCorrections()) { return true;
	public static boolean hasCorrections(ICompilationUnit cu, int problemId) {		ContributedProcessorDescriptor[] processors= getCorrectionProcessors();		for (int i= 0; i < processors.length; i++) {			try {				IQuickFixProcessor processor= (IQuickFixProcessor) processors[i].getProcessor(cu);				if (processor != null && processor.hasCorrections(cu, problemId)) {					return true;				}			} catch (CoreException e) {				//JavaPlugin.log(e);			}		}		return false;	}