code: public static <T> Path<T> path(Class<? extends T> type, PathMetadata metadata) {
          return new PathImpl<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