// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.startup;

import com.intellij.openapi.project.Project;
import com.intellij.openapi.startup.StartupManager;
import org.jetbrains.annotations.NotNull;

/**
 * @author mike
 */
public abstract class StartupManagerEx extends StartupManager {
  public abstract boolean startupActivityRunning();
  public abstract boolean startupActivityPassed();

  public abstract boolean postStartupActivityPassed();

  @Override
  public abstract void registerPreStartupActivity(@NotNull Runnable runnable); // should be used only to register to FileSystemSynchronizer!

  public static StartupManagerEx getInstanceEx(Project project) {
    return (StartupManagerEx)getInstance(project);
  }
}

@@ -18,9 +18,9 @@
 -201
-8
+9
  Jet
@@ -270,74 +270,8 @@
 er;%0A
-import org.jetbrains.annotations.NotNull;%0A%0A/**%0A * @author mike%0A */
 %0Apub
@@ -495,162 +495,8 @@
 );%0A%0A
-  @Override%0A  public abstract void registerPreStartupActivity(@NotNull Runnable runnable); // should be used only to register to FileSystemSynchronizer!%0A%0A
   pu

remove registerPreStartupActivity from StartupManagerEx - already defined in StartupManager