I see SonarQube throwing
squid:S2176("Class names should not shadow interfaces or superclasses")
when I create anonymous inner class instances. I'm a bit surprised by this and more so, when I didn't find any discussion related to this.
Could someone let me know if this sounds familiar and how it was solved?