public @NotNull GlobalSearchScope getMigrationScope() {
    final Module selectedModule = myUi.getModulesCombo().getSelectedModule();

    if (selectedModule == null) {
      return projectScope(myProject);
    } else {
      return selectedModule.getModuleScope();
    }
  }
public @NotNull GlobalSearchScope getMigrationScope()