void (Project project, Editor editor, PsiElement element) { final Pair<List<? extends PsiElement>, String> pair = RenamePropertyUtil.askToRenameProperty((PsiMember)element); final List<? extends PsiElement> result = pair.getFirst(); if (result.isEmpty()) return; PsiElement propertyToRename = getPropertyToRename(element, result, pair.getSecond()); PsiElementRenameHandler.invoke(propertyToRename, project, element, editor); }