@Override
  public @NotNull NameValuePairElement getNode() {
    ASTNode node = super.getNode();
    if (!(node instanceof NameValuePairElement)) {
      String parents = String.join("; ", SyntaxTraverser.psiApi().parents(this).takeWhile(Objects::nonNull)
        .map(psi -> psi.getClass().getName()).toList());
      throw new IllegalStateException("Node is not NameValuePairElement; node class = " + node.getClass() + "; parents = " + parents);
    }
    return (NameValuePairElement)node;
  }
@Override
  public @NotNull NameValuePairElement getNode()