docs: protected void record( final Comment comment,
                             final Node parentNode ) throws Exception {
          Node commentNode = null;
          String commentType = null;
  
          if (comment.isDocComment()) {
              commentNode = parentNode.addNode(ClassFileSequencerLexicon.JAVADOC, ClassFileSequencerLexicon.JAVADOC);
          } else {
              commentNode = parentNode.addNode(ClassFileSequencerLexicon.COMMENT, ClassFileSequencerLexicon.COMMENT);
  
              if (comment.isBlockComment()) {
                  commentType = ClassFileSequencerLexicon.CommentType.BLOCK.toString();
              } else if (comment.isLineComment()) {
                  commentType = ClassFileSequencerLexicon.CommentType.LINE.toString();
              } else {
                  assert false;
                  LOGGER.error(JavaFileI18n.unhandledCommentType, comment.getClass().getName());
              }
  
              commentNode.setProperty(ClassFileSequencerLexicon.COMMENT_TYPE, commentType);
          }
  
          final String code = getSourceCode(comment.getStartPosition(), comment.getLength());
  
          if (!StringUtil.isBlank(code)) {
              commentNode.setProperty(ClassFileSequencerLexicon.COMMENT, code);
          }
  
          recordSourceReference(comment, commentNode);
      }