False +: FinalFieldCouldBeStatic on inner class
A source code analyzer
Brought to you by:
adangel,
juansotuyo
See the attached sample file, it triggers a warning on the FinalFieldCouldBeStatic design rule. But this is a false positive because static fields can only be declared in static or top level types. If you make the field static it will cause a compiler error.
sample code to reproduce bug