void (@NotNull DataContext dataContext, @NotNull SelectInContext context) { List<SelectInTarget> targetVector = SelectInManager.getInstance(context.getProject()).getTargetList(); ListPopup popup; if (Registry.is("ide.selectIn.experimental.popup", true)) { popup = createActionPopup(dataContext, context, targetVector); } else { popup = createLegacyPopup(dataContext, context, targetVector); } popup.showInBestPositionFor(dataContext); }