void (GrField field) { final PsiElement[] occurrences = context.getOccurrences(); GroovyRefactoringUtil.sortOccurrences(occurrences); for (PsiElement occurrence : occurrences) { replaceOccurrence(field, occurrence, isEscalateVisibility()); } }