@Override
  public AnAction @NotNull [] getChildren(AnActionEvent e) {
    if (e == null) return AnAction.EMPTY_ARRAY;
    final Project project = e.getProject();
    if (project == null) return AnAction.EMPTY_ARRAY;

    final ArrayList<AnAction> availableMigrations = new ArrayList<>();
    final MigrationManager manager = RefactoringManager.getInstance(project).getMigrateManager();
    for (MigrationMap map: manager.getMigrationsMap().getMaps()) {
      availableMigrations.add(new AnAction(map.getName()) {
        @Override
        public void actionPerformed(@NotNull AnActionEvent e) {
           manager.showMigrationDialog(map);
        }
      });
    }

    return availableMigrations.toArray(AnAction[]::new);
  }
@Override
  public AnAction @NotNull [] getChildren(AnActionEvent e)