RunnerAndConfigurationSettings (@NotNull List<MavenSimpleNode> selectedNodes) { @Nullable MavenSimpleNode node = selectedNodes.isEmpty() ? null : selectedNodes.get(0); if (!(node instanceof RunConfigurationNode)) return null; return ((RunConfigurationNode)node).getSettings(); }