This inspection reports calls like s.substring(s.indexOf(x)) replaceable with s.substringAfter(x).