docs: private static PortablePosition navigateToPathTokenWithAnyQuantifier(
              PortableNavigatorContext ctx, PortablePathCursor path, NavigationFrame frame) throws IOException {
          // check if the underlying field is of array type
          validateArrayType(ctx.getCurrentClassDefinition(), ctx.getCurrentFieldDefinition(), path.path());
  
          if (ctx.isCurrentFieldOfType(FieldType.PORTABLE_ARRAY)) {
              // the result will be returned if it was the last token of the path, otherwise it has just moved further.
              PortablePosition result = navigateToPathTokenWithAnyQuantifierInPortableArray(ctx, path, frame);
              if (result != null) {
                  return result;
              }
          } else {
              // there will always be a result since it's impossible to navigate further from a primitive field.
              return navigateToPathTokenWithAnyQuantifierInPrimitiveArray(ctx, path, frame);
          }
          return null;
      }