void (VariableInplaceRenameHandler handler, final String newName, @NotNull Editor editor, PsiElement elementAtCaret) { if (!tryInlineRename(handler, newName, editor, elementAtCaret)) { Assert.fail("Inline refactoring wasn't performed"); } }