Every unchecked warning may potentially trigger ClassCastException
at runtime.
Example:
List items = Arrays.asList("string", "string");
List<Integer> numbers = Collections.unmodifiableList(items);
The quick-fix tries to make the code more generic and put all missed types to the current file:
List<String> items = Arrays.asList("string", "string");
List<Integer> numbers = Collections.unmodifiableList(items);