code: public static PathMetadata forListAccess(Path<?> parent, Expression<Integer> index) {
          return new PathMetadata(parent, index, PathType.LISTVALUE);
      }
docs: Create a new PathMetadata instance for indexed list access
  
  @param parent parent path
  @param index index of element
  @return list access path