public <T> void registerProjectComponent(@NotNull Class<T> interfaceClass, @NotNull T implementation) {
    CoreApplicationEnvironment.registerComponentInstance(project.getPicoContainer(), interfaceClass, implementation);
    if (implementation instanceof Disposable) {
      Disposer.register(project, (Disposable) implementation);
    }
  }
public <T> void registerProjectComponent(@NotNull Class<T> interfaceClass, @NotNull T implementation)