报告可能添加了 final 修饰符的形参或局部变量。

示例:


  def list = [1,2,3]
  return list

在应用快速修复后:


  final def list = [1,2,3]
  return list

有关更多信息,请参阅 Java 中的相同检查。