         contains(where: \.isPrivateOrFilePrivate)
     }
 
-    var isPrivateSet: Bool {
-        contains(where: \.isPrivateSet)
+    var isPrivateOrFilePrivateSet: Bool {
+        contains(where: \.isPrivateOrFilePrivateSet)
     }
 }
 

                return
            }

            if allowPrivateSet && decl.modifiers?.isPrivateSet == true {
                return
            }


        (name.text == "private" || name.text == "fileprivate") && detail == nil
    }

    var isPrivateOrFilePrivateSet: Bool {
        (name.text == "private" || name.text == "fileprivate") && detail?.detail.text == "set"
    }
}
