@Override
    public @NotNull DeployToServerRunConfiguration<C, ?> createTemplateConfiguration(@NotNull Project project) {
      DeployToServerRunConfiguration<C, ?> result = super.createTemplateConfiguration(project);
      DeploymentSourceType<?> type = getSourceTypeImpl();
      if (type instanceof SingletonDeploymentSourceType) {
        result.lockDeploymentSource((SingletonDeploymentSourceType)type);
      }
      return result;
    }
@Override
    public @NotNull DeployToServerRunConfiguration<C, ?> createTemplateConfiguration(@NotNull Project project)