private static boolean compareVisibilities(RefJavaElement listOwner, UnusedSymbolLocalInspection localInspectionTool) {
    return compareVisibilities(listOwner, getAcceptedVisibility(localInspectionTool, listOwner));
  }
private static boolean compareVisibilities(RefJavaElement listOwner, UnusedSymbolLocalInspection localInspectionTool)