void (@NotNull PsiReferenceList list) { PsiJavaCodeReferenceElement[] elements = list.getReferenceElements(); for (PsiJavaCodeReferenceElement element : elements) { replaceElement(element.getReferenceNameElement(), classCount, false, builder, shift.get()); } }