code: public static <T extends Job> ParameterizedJobMixIn asParameterizedJobMixIn(final T job) {
          return new ParameterizedJobMixIn() {
              @Override
              protected Job asJob() {
                  return job;
              }
          };
      }
docs: Converts any child class of {@link Job} (such as {@link AbstractProject}
  to {@link ParameterizedJobMixIn} to use it for workflow
  
  @param job to wrap
  @param <T> any child type of Job
  
  @return ParameterizedJobMixIn
  TODO use standard method in 1.621+