UsageViewDescriptor (final UsageInfo @NotNull [] usages) { return new UsageViewDescriptorAdapter() { @Override public PsiElement @NotNull [] getElements() { return new PsiElement[]{mySettings.getToSearchFor()}; } @Override public String getProcessedElementsHeader() { return JavaRefactoringBundle.message("introduce.parameter.elements.header"); } }; }