void (@NotNull UsageView usageView) { context[0] = new ReplaceContext(usageView, findModelCopy); addReplaceActions(context[0]); usageView.setRerunAction(new AbstractAction() { @Override public void actionPerformed(ActionEvent e) { UsageViewPresentation rerunPresentation = presentation.copy(); rerunPresentation.setOpenInNewTab(false); searchAndShowUsages(manager, usageSearcherFactory, findModelCopy, rerunPresentation, processPresentation); } }); }