Reports while loops which iterate
over collections, and can be replaced with the foreach iteration syntax,
which is available in Java 5 and newer.
This inspection only reports if the project or module is configured to use a
language level of 5.0 or higher.