synchronized (fReconcilingListeners) { Object[] listeners = fReconcilingListeners.getListeners(); for (int i = 0, length= listeners.length; i < length; ++i) ((IJavaReconcilingListener)listeners[i]).reconciled(ast, cancelled, forced); }
Object[] listeners = fReconcilingListeners.getListeners(); for (int i = 0, length= listeners.length; i < length; ++i) ((IJavaReconcilingListener)listeners[i]).reconciled(ast, cancelled, forced);
	public void reconciled(CompilationUnit ast, boolean cancelled, boolean forced) {		// Always notify AST provider		JavaPlugin.getDefault().getASTProvider().reconciled(ast, getInputJavaElement());				// Notify listeners		synchronized (fReconcilingListeners) {			Object[] listeners = fReconcilingListeners.getListeners();			for (int i = 0, length= listeners.length; i < length; ++i)				((IJavaReconcilingListener)listeners[i]).reconciled(ast, cancelled, forced);		}		// Update Java Outline page selection		if (!forced && !cancelled) {			Shell shell= getSite().getShell();			if (shell != null && !shell.isDisposed()) {				shell.getDisplay().asyncExec(new Runnable() {					public void run() {						selectionChanged();					}				});			}		}	}