void (MigrationMap map) { final MigrationDialog migrationDialog = new MigrationDialog(myProject, map, myMigrationMapSet); if (!migrationDialog.showAndGet()) { return; } GlobalSearchScope migrationScope = migrationDialog.getMigrationScope(); new MigrationProcessor(myProject, map, migrationScope).run(); }