Reports illegal syntax in format strings, format specifiers that are incompatible with the given arguments, insufficient arguments given for a format string, and so on.
The inspection works in the following places:
"…".format(…)
value.formatted("…")
String.format("…", …)
printf("…", …)
System.out.printf("…", …)