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