code: public static <T> BeanComparator<T> forClass(Class<T> clazz) {
          return new BeanComparator<T>(clazz);
      }
docs: Get or create a new BeanComparator for beans of the given type. Without
  any {@link #orderBy order-by} properties specified, the returned
  BeanComparator can only order against null beans (null is
  {@link #nullHigh high} by default), and treats all other comparisons as
  equal.