boolean (PsiDocComment comment) { if (comment == null) return true; for (PsiElement description : comment.getDescriptionElements()) { String text = description.getText(); if (text != null && !ourWhitespaces.matcher(text).replaceAll("").isEmpty()) { return false; } } return true; }