code: public static <T extends Comparable<?>> ComparablePath<T> comparablePath(Class<? extends T> type,
                                                                               PathMetadata metadata) {
          return new ComparablePath<T>(type, metadata);
      }
docs: Create a new Path expression
  
  @param type type of expression
  @param metadata path metadata
  @param <T> type of expression
  @return path expression