title: Is there a global setting in the Java Compiler to disable deprecation for String.formatted()?
body: <p>The method <code>String.formatted()</code> is a new feature in Java 13 introduced together with text blocks and can be used instead of <code>String.format(templateString, replacement1, replacement2, ...)</code>.</p>
  
  <p>The compiler issues a jarring warning when using this method because it might be removed again in future versions (but it could also stay).</p>
  
  <p>Is there a way to specifically disable this compiler warning without annotating each usage with <code>@SuppressWarnings("removal")</code> or disabling all deprecation warnings as java compiler parameter?</p>