String
literals.
Hardcoded String
literals are probably errors in an
internationalized environment. This inspection won't report empty strings and strings consisting only of whitespaces. A quick-fix is available
to transform a string literal into a java.util.ResourceBundle.getString()
method call.
Use inspection's options to further specialize whether this inspection should report strings in:
assert str.equals("message")
new Exception("message")
assertEquals(str, "message")
getStringByKey("key")
Class.forName("java.lang.Object")
bundle.getString("authentication.failed")