String
concatenations that can be simplified by replacing them with a string template.
Example:
String name = "Bob";
String greeting = "Hello, " + name + ". You are " + 29 + " years old.";
After the quick-fix is applied:
String name = "Bob";
String greeting = STR."Hello, \{name}. You are 29 years old.";
This inspection only reports if the language level of the project or module is 21 or higher.
New in 2023.3