SONAR : Anonymous class | squid:S2176

1k Views Asked by At

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?

0

There are 0 best solutions below