void (final VirtualFile f, String value) { final MapDataContext context = createRenameDataContext(f, value); final RenameHandler renameHandler = RenameHandlerRegistry.getInstance().getRenameHandler(context); assertNotNull(renameHandler); invokeRename(context, renameHandler); }