private static void collectDocComment(@NotNull PsiJavaDocumentedElement commentOwner,
                                        @NotNull Consumer<? super @NotNull PsiDocCommentBase> sink) {
    PsiDocComment comment = commentOwner.getDocComment();
    if (comment != null) sink.accept(comment);
  }
private static void collectDocComment(@NotNull PsiJavaDocumentedElement commentOwner,
                                        @NotNull Consumer<? super @NotNull PsiDocCommentBase> sink)