I have to admit that I do not know IntelliJ much, but the following will work in Eclipse, and I assume that IntelliJ would have a similar feature.
The for each loop was introduced in Java 1.5, so one way to find all those loops would be to set the source level to e.g. 1.4. Then all those foreach loops (and other new language features) will provoke errors.
In Eclipse, go to Preferences (or the project's Properties), Java Compiler, and set the Compiler Compliance Level to 1.4. Then, in the Problems View, you can sort the errors by their Description so all the "for each statement not available" errors line up nicely for you to find.
Again, my solution is for Eclipse, but I'm sure there is something similar in IntelliJ, too.