Reports calls to java.util.List.set() methods. Such calls could be replaced by the shorter and clearer keyed access form.

Example:


def list = ["foo"]
list.set(0, "bar") // list.set(0, "bar") could be replaced with list[0] = "bar"

After the quick-fix is applied, the result looks like this:


def list = ["foo"]
list[0] = "bar"