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 language level of the project or module is 5 or higher