Reports unnecessary def modifiers when used with explicit type declaration.
For example:
def boolean foo() {} // modifier is unnecessary
def Object bar // modifier is unnecessary
def (int a, String b) = [] // modifier is required and therefore not highlighted