Text block can be used
String concatenations that can be simplified by replacing them with text blocks.
\noccurs two or more times.
Text blocks are not concatenated.
Use the Apply to single string literals option to suggest the fix for single literals containing line breaks.
After the quick-fix is applied:
This inspection only reports if the language level of the project or module is 15 or higher.
New in 2019.3
Apply to single string literals
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3