Reports any calls to String.startsWith() or String.endsWith() which are passed single character string literals as parameter. Such calls may be more efficiently implemented with String.charAt(). Because the performance gain is minimal, the needed extra check for non-zero length, and the negative effect on code clarity, it is recommended to do so only inside tight loops.