void (@NotNull RunManagerImpl runManager) { if (mySettingsWithTarget != null) { return; } String type = typeNameTarget.getType(); String name = typeNameTarget.getName(); String targetId = typeNameTarget.getTargetId(); RunnerAndConfigurationSettings settings = type != null && name != null ? runManager.findConfigurationByTypeAndName(type, name) : null; ExecutionTarget target = targetId != null && settings != null ? ((ExecutionTargetManagerImpl)ExecutionTargetManager.getInstance(myProject)) .findTargetByIdFor(settings.getConfiguration(), targetId) : null; mySettingsWithTarget = new Pair<>(settings, target); }