void (@NotNull PsiElement element, @NotNull CommentFormatter formatter) { CommentInfo info = getElementsCommentInfo(element); if (info == null || !isJavadoc(info)) return; JDComment comment = parse(info, formatter); String indent = formatter.getIndent(info.commentOwner); String commentText = comment.generate(indent); formatter.replaceCommentText(commentText, info.docComment); }