code: public static <T extends Comparable<?>> ComparablePath<T> comparablePath(Class<? extends T> type,
              String variable) {
          return new ComparablePath<T>(type, PathMetadataFactory.forVariable(variable));
      }
docs: Create a new Path expression
  
  @param type type of expression
  @param variable variable name
  @return path expression