Implement simple inspection to check whether String.format expression can be converted to s() expression.
Support only full form: String.format(str, ....), String.format(locale, str, ....). If possible, support statically imported form format(str, ...), format(locale, str, ....)
format string can be only string literal value. Other variations can be supported later. For example, static final constants
Do NOT implement quick fix to replace expression onto corresponding s method invocation. Might be imlemented later.
Implement simple inspection to check whether
String.format
expression can be converted tos()
expression.String.format(str, ....)
,String.format(locale, str, ....)
. If possible, support statically imported formformat(str, ...)
,format(locale, str, ....)
s
method invocation. Might be imlemented later.