boolean (@NotNull PsiElement comment) { if (!(comment instanceof PsiComment)) return false; String text = comment.getText(); if (text == null) return false; return TYPE_IGNORE_PATTERN.matcher(text).matches(); }