boolean (GrCaseSection caseClause) { final PsiElement element = skipWhiteSpacesAndNewLines(caseClause, PsiTreeUtil::prevLeaf); if (!(element instanceof PsiComment)) { return false; } final String commentText = element.getText(); return commentPattern.matcher(commentText).find(); }