public static boolean reportNonRegularUsages(UsageInfo @NotNull [] usages, @NotNull Project project) {
    boolean inGeneratedCode = hasUsagesInGeneratedCode(usages, project);
    if (hasNonCodeUsages(usages) || inGeneratedCode) {
      StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
      if (statusBar != null) {
        statusBar.setInfo(UsageViewBundle.message(inGeneratedCode
                                                    ? "occurrences.found.in.comments.strings.non.java.files.and.generated.code"
                                                    : "occurrences.found.in.comments.strings.and.non.java.files"));
      }
      return true;
    }
    return false;
  }
public static boolean reportNonRegularUsages(UsageInfo @NotNull [] usages, @NotNull Project project)