报告与显式类型声明一起使用时不必要的 def 修饰符。

示例:


  def boolean foo() {} // 修饰符不必要
  def Object bar // 修饰符不必要

  // 修饰符是必要的,因此未高亮显示
  def (int a, String b) = []