void (PsiElement parent, PsiElement startChild, MultiMap<PsiElement, String> conflicts, @NotNull String varName) { PsiElement child = parent.getLastChild(); while (child != null && child != startChild && !(child instanceof GrTypeDefinition)) { validateVariableOccurrencesDownImpl(child, conflicts, varName); child = child.getPrevSibling(); } }