String.indexOf()
String.indexOf(c) > 0
String.contains()
This inspection only reports if the language level of the project or module is five or higher.