@Override public DefaultTokenWriter writeComment(CtComment comment) { CommentHelper.printComment(printerHelper, comment); return this; }
@Override public String getDocComment() { for (CtComment ctComment : comments) { if (ctComment.getCommentType() == CtComment.CommentType.JAVADOC) { return printComment(ctComment); } } return ""; }