void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return; for (final AntBuildFileBase buildFile : AntConfiguration.getInstance(project).getBuildFileList()) { final String name = buildFile.getPresentableName(); if (name != null && myBuildName.equals(name)) { final List<String> targets = myTargets.size() == 1 && getDefaultTargetName().equals(myTargets.iterator().next()) ? Collections.emptyList() : myTargets; ExecutionHandler.runBuild(buildFile, targets, null, e.getDataContext(), Collections.emptyList(), AntBuildListener.NULL); return; } } }