code: public static <T> RecordMapper<T> newInstance(Class<T> mappedClass) {
          RecordMapper<T> newInstance = new RecordMapper<T>();
          newInstance.setMappedClass(mappedClass);
          return newInstance;
      }
docs: Static factory method to create a new RecordMapper
  (with the mapped class specified only once).
  @param mappedClass the class that each row should be mapped to