title: Constructor annotation on java records
body: <p>Is there a way to get an annotation like <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.desktop/java/beans/ConstructorProperties.html" rel="noreferrer">ConstructorProperties</a> that has <code>@Target(CONSTRUCTOR)</code> to annotate the generated constructor of a java 16 record? E.g.:</p>
  <pre><code>@ConstructorProperties({&quot;id&quot;, &quot;filename&quot;})
  public record Person(long id, String filename) {}
  </code></pre>
  <p>This ^ causes the following error:</p>
  <pre><code>java: annotation type not applicable to this kind of declaration
  </code></pre>