String.valueOf() or Integer.toString() when they are used in
a string concatenation or as an argument of a library method in which the explicit string conversion is not needed.
Example:
System.out.println("Number: " + Integer.toString(count));
After the quick-fix is applied:
System.out.println("Number: " + count);
Library methods in which explicit string conversion is considered redundant:
java.io.PrintWriter, java.io.PrintStream
print(), println()java.lang.StringBuilder, java.lang.StringBuffer
append()org.slf4j.Logger
trace(), debug(), info(), warn(), error()
Use the Report calls, which can be replaced with concatenations with empty string
option to additionally report cases when concatenations with empty string can be used instead of String.valueOf().