This inspection reports any instances of hardcoded String literals. Hardcoded string literals are probably errors in an internationalized environment. This inspection won't report empty strings and strings consisting of only whitespace.

The checkboxes below may be used to further specialize whether this inspection should report strings in:

- assert statements, like in assert str.equals("message")
- exception constructor calls, like in new Exception("message")
- JUnit assert calls, like in assertEquals(str, "message")
- the only argument to a method returning String, like in getStringByKey("key")
- literals with value of legal and existing class name like Class.forName("java.lang.Object");
- literals with value of legal and existing property key bundle.getString("authentication.failed");

There is a quickfix provided that transforms a Java code string literal into a java.util.ResourceBundle.getString() method call.