void (@NotNull PsiTypeElement type) { super.visitTypeElement(type); final MatchingHandler handler = myCompilingVisitor.getContext().getPattern().getHandler(type); GlobalCompilingVisitor.setFilter(handler, e -> e instanceof PsiTypeElement); }