code: public static PathMetadata forArrayAccess(Path<?> parent, @Nonnegative int index) {
          return new PathMetadata(parent, index, PathType.ARRAYVALUE_CONSTANT);
      }
docs: Create a new PathMetadata instance for indexed array access
  
  @param parent parent path
  @param index index of element
  @return array access path