* an <code>IASTProblemNode</code>.
*
* @see ASTCommenter#getCommentedNodeMap(org.eclipse.cdt.core.dom.ast.IASTTranslationUnit)
*/
public String write(final IASTNode rootNode, final NodeCommentMap commentMap) throws ProblemRuntimeException {
final ChangeGeneratorWriterVisitor writer = new ChangeGeneratorWriterVisitor(modificationStore, null, commentMap);
if (rootNode != null) {
rootNode.accept(writer);
}
return writer.toString();
}