ExecutionTarget () { if (myTargetId != null) { if (DefaultExecutionTarget.INSTANCE.getId().equals(myTargetId)) { return DefaultExecutionTarget.INSTANCE; } for (ExecutionTargetProvider provider : ExecutionTargetProvider.EXTENSION_NAME.getExtensionList()) { for (ExecutionTarget target : provider.getTargets(myProject, myConfiguration)) { if (myTargetId.equals(target.getId())) { return target; } } } return null; } return DefaultExecutionTarget.INSTANCE; }