new rule: Unsafe "Implementation as Map" in production code
Brought to you by:
chrismair
new rule: Unsafe "Implementation as Map" in production code
Defaults to only analyzing production code, not tests.
This rule is defined as implementing an interface with a map, when it is known that you are not implementing all methods. By default, ignores test classes. For instance:
[mouseClicked: { /* */ }] as MouseListener
Not all mouse listener methods are implemented. This is dangerous.