JEP draft: String Templates (Final)
Summary
Enhance the Java programming language with string templates. String templates complement Java's existing string literals and text blocks by coupling literal text with embedded expressions and template processors to produce specialized results. This is a preview language feature and API.
History
String Templates were originally proposed as a preview feature by JEP 430 in JDK 21 with a second preview by JEP 459 in JDK 22. We here propose a finalization of this feature. There are no changes...
Read more at openjdk.org