private static Consumer<Module> restarter(final Project project, final VirtualFile file) {
    return module -> createConsole(project, file, module);
  }
private static Consumer<Module> restarter(final Project project, final VirtualFile file)