void (@Nullable DeploymentSource source, boolean selected) { if (source != null) { DeploymentSourceType type = source.getType(); type.updateBuildBeforeRunOption(myServerCombo, myProject, source, selected); } }