docs: @Deprecated
      public void buildEnvVars(AbstractBuild<?,?> build, Map<String,String> env) {
          if (env instanceof EnvVars) {
              if (Util.isOverridden(ParameterValue.class, getClass(), "buildEnvironment", Run.class, EnvVars.class)) {
                  // if the subtype already derives buildEnvironment, then delegate to it
                  buildEnvironment(build, (EnvVars) env);
              } else if (Util.isOverridden(ParameterValue.class, getClass(), "buildEnvVars", AbstractBuild.class, EnvVars.class)) {
                  buildEnvVars(build, (EnvVars) env);
              }
          }
          // otherwise no-op by default
      }