title: Do Java records support "with" syntax?
body: <p>Java 14 brings records, which are a great addition seen in many functional languages:</p>
  <p><em>Java:</em></p>
  <pre class="lang-java prettyprint-override"><code>public record Vehicle(String brand, String licensePlate) {}
  </code></pre>
  <p><em>ML:</em></p>
  <pre class="lang-ml prettyprint-override"><code>type Vehicle = 
    {
      Brand : string
      LicensePlate : string
    }
  </code></pre>
  <p>In ML languages, it is possible to &quot;update&quot; a record by creating a copy with a few values changed:</p>
  <pre class="lang-ml prettyprint-override"><code>let u = 
    {
      Brand = &quot;Subaru&quot;
      LicensePlate = &quot;ABC-DEFG&quot;
    }
  
  let v =
    {
      u with 
        LicensePlate = &quot;LMN-OPQR&quot;
    }
  
  // Same as: 
  let v = 
    {
      Brand = u.Brand
      LicensePlate = &quot;LMN-OPQR&quot;
    }
  </code></pre>
  <p>Is this possible in Java 14?</p>