@Override
  public boolean isAssignableFrom(@NotNull XPathType type) {
    return super.isAssignableFrom(type) || getType().isAssignableFrom(unwrap(type));
  }
@Override
  public boolean isAssignableFrom(@NotNull XPathType type)