void (final Editor editor, final @NotNull XmlTag tag) { if (!ourRenamersStack.isEmpty()) { ourRenamersStack.peek().finish(); } final XmlTagInplaceRenamer renamer = new XmlTagInplaceRenamer(editor); ourRenamersStack.push(renamer); renamer.rename(tag); }