UsageViewDescriptor (UsageInfo @NotNull [] usages) { return new UsageViewDescriptorAdapter() { @Override public PsiElement @NotNull [] getElements() { return myFiles; } @Override public String getProcessedElementsHeader() { return GroovyRefactoringBundle.message("files.to.be.converted"); } }; }