boolean (UsageInfo @NotNull [] usages) { if (super.isPreviewUsages(usages)) return true; for(UsageInfo usage: usages) { if (isForcePreview(usage)) { WindowManager.getInstance().getStatusBar(myProject).setInfo(RefactoringBundle.message("occurrences.found.in.comments.strings.and.non.java.files")); return true; } } return false; }