// java ElementChangedEvent.
// Note that even with this hack, build clean is sometimes necessary to
// reconcile PackageExplorer with actual classpath
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=154071
if (getJDTVersion().startsWith("3.3")) {
DeltaProcessingState state = JavaModelManager.getJavaModelManager().deltaState;
synchronized (state) {
IElementChangedListener[] listeners = state.elementChangedListeners;
for (int i = 0; i < listeners.length; i++) {
if (listeners[i] instanceof PackageExplorerContentProvider) {
JavaElementDelta delta = new JavaElementDelta(conf.javaProject);