public void addLocal(@NotNull LocalDeploymentImpl<?> deployment) {
      synchronized (myLock) {
        myLocalDeployments.put(deployment.getName(), deployment);
        myCachedAllDeployments = null;
      }
    }
public void addLocal(@NotNull LocalDeploymentImpl<?> deployment)