try { IQuickAssistProcessor processor= (IQuickAssistProcessor) processors[i].getProcessor(context.getCompilationUnit()); if (processor != null && processor.hasAssists(context)) { return true; } } catch (Exception e) { JavaPlugin.log(e);
collector.process(processors[i]); if (collector.hasAssists()) { return true;
	public static boolean hasAssists(IInvocationContext context) {		ContributedProcessorDescriptor[] processors= getAssistProcessors();		for (int i= 0; i < processors.length; i++) {			try {				IQuickAssistProcessor processor= (IQuickAssistProcessor) processors[i].getProcessor(context.getCompilationUnit());				if (processor != null && processor.hasAssists(context)) {					return true;				}							} catch (Exception e) {				JavaPlugin.log(e);			}		}		return false;	}	