@Override
  public void visitTypeElement(@NotNull PsiTypeElement type) {
    super.visitTypeElement(type);

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