void () { List<FieldAccessorCandidate> accessorsToRename = getAccessorsToRename(); for (var fieldAccessorCandidate : accessorsToRename) { String backingFieldName = fieldAccessorCandidate.getBackingField().getName(); List<PsiMethod> methods = substituteWithSuperMethodsIfPossible(fieldAccessorCandidate.getAccessor()); RenamePsiElementProcessor methodRenameProcessor = RenamePsiElementProcessor.forElement(methods.get(0)); methods.forEach(method -> { myAllRenames.put(method, backingFieldName); methodRenameProcessor.prepareRenaming(method, backingFieldName, myAllRenames); }); } }