FindUsagesProcessPresentation (boolean showPanelIfOnlyOneUsage, @NotNull UsageViewPresentation presentation) { var processPresentation = new FindUsagesProcessPresentation(presentation); processPresentation.setShowNotFoundMessage(true); processPresentation.setShowPanelIfOnlyOneUsage(showPanelIfOnlyOneUsage); return processPresentation; }