Find fields that hide a field of a supertype

Proprietary

Marks a field whose name matches a field that its class would otherwise inherit from a superclass or superinterface, following the inheritance and access rules of the JLS. Private fields, package-private fields of another package, serialVersionUID and serialPersistentFields, and fields of supertypes that cannot be resolved are not considered. Test sources are not searched.

io.moderne.staticanalysis.FindHidingField
mod run . --recipe=io.moderne.staticanalysis.FindHidingField

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.