Reports method calls on parameterized collections, where the actual argument type does not correspond to the collection's elements type.

Example:


  List<Integer> list = getListOfElements();
  list.remove(""); // remove is highlighted

In the inspection settings, you can disable warnings for potentially correct code like the following:


  public boolean accept(Map<Integer, String> map, Object key) {
    return map.containsKey(key);
  }