void (PsiElement substitutedElement) { final MemberInplaceRenamer renamer = new MemberInplaceRenamer(element, substitutedElement, finalEditor); final LinkedHashSet<String> nameSuggestions = new LinkedHashSet<>(rename.nameSuggestions()); renamer.performInplaceRefactoring(nameSuggestions); }