void (@NotNull PsiElement element) { if (element instanceof ForeignLeafPsiElement) return; try { ensureNodeRangeConsistency(element, file); } catch (Throwable e) { throw new AssertionError("In " + element + " of " + element.getClass(), e); } super.visitElement(element); }