void (@NotNull PsiElementVisitor visitor) { final PsiElement[] children = myElement.getChildren(); for (PsiElement child : children) { if (child instanceof GrTypeElement) { PsiImplUtil.getOrCreateTypeElement((GrTypeElement)child).accept(visitor); } } }