code: boolean checkName(final INodeReadTrx paramNewRtx, final INodeReadTrx paramOldRtx) {
          assert paramNewRtx != null;
          assert paramOldRtx != null;
          boolean found = false;
          if (paramNewRtx.getNode().getKind() == paramOldRtx.getNode().getKind()) {
              switch (paramNewRtx.getNode().getKind()) {
              case ELEMENT:
                  if (paramNewRtx.getQNameOfCurrentNode().equals(paramOldRtx.getQNameOfCurrentNode())) {
                      found = true;
                  }
                  break;
              case TEXT:
                  if (paramNewRtx.getValueOfCurrentNode().equals(paramOldRtx.getValueOfCurrentNode())) {
                      found = true;
                  }
                  break;
              default:
              }
          }
          return found;
      }
docs: Check {@link QName} of nodes.
  
  @param paramNewRtx
  {@link IReadTransaction} on new revision
  @param paramOldRtx
  {@link IReadTransaction} on old revision
  @return true if nodes are "equal" according to their {@link QName}s,
  otherwise false