@Override
    public boolean isAssignableFrom(@NotNull XPathType type) {
      return super.isAssignableFrom(type) || type == NODESET || this == ITEM;
    }
@Override
    public boolean isAssignableFrom(@NotNull XPathType type)