private static void collectTargetActions(final AntBuildTarget[] targets,
                                           final List<? super Pair<String, AnAction>> actionList,
                                           final AntBuildFile buildFile) {
    for (final AntBuildTarget target : targets) {
      final String actionId = ((AntBuildTargetBase)target).getActionId();
      if (actionId != null) {
        final TargetAction action = new TargetAction(
          buildFile, target.getName(), target.getTargetNames(), target.getNotEmptyDescription()
        );
        actionList.add(new Pair<>(actionId, action));
      }
    }
  }
private static void collectTargetActions(final AntBuildTarget[] targets,
                                           final List<? super Pair<String, AnAction>> actionList,
                                           final AntBuildFile buildFile)