void (@NotNull PsiElement element) { final var uElement = UastContextKt.toUElementOfExpectedTypes(element, OUR_EXPECTED_UAST_TYPES); if (uElement != null) { uElement.accept(MyAnonymousClassesNamesCollectingVisitor.this); } super.visitElement(element); }