Reports any String.indexOf() expressions which can be replaced with a call to the String.contains() method 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.