Reports unnecessary def modifiers when used with explicit type declaration.

Example:


  def boolean foo() {} // modifier is unnecessary
  def Object bar // modifier is unnecessary

  // modifier is required and therefore not highlighted
  def (int a, String b) = []