Reports the usage of exists
or forall
for searching a specific element.
The quick-fix uses contains
instead.
Example:
set.exists(x => x == "a")
set.forall(x => x != "a")
After the quick-fix is applied:
set.contains("a")
!set.contains("a")