void (DeploymentSource deploymentSource) { if (myDeploymentSourceIsLocked) { assert deploymentSource != null && deploymentSource == myDeploymentSource : "Can't replace locked " + myDeploymentSource + " with " + deploymentSource; } myDeploymentSource = deploymentSource; }