This inspection reports any instances of for loops which iterate over collections or arrays, and can be replaced with the JDK 5.0 "for each" iteration syntax.

For safety, this inspection is disabled unless the project uses JDK 5.0.