boolean (@NotNull T t, final ProcessingContext context) { PsiElement element = t; while (true) { element = PsiTreeUtil.nextLeaf(element); if (element != null && element.getTextLength() == 0) { continue; } if (!skip.accepts(element, context)) { return pattern.accepts(element, context); } } }