title: ByteBuddy call constructor of generated class
body: <p>I am trying to generate a method like this in a generated class</p>
  <pre><code>static void setDefault(Supplier&lt;?&gt; arg0, String[] arg1, String[] arg2) {
      defaultInstance = new GeneratedClass(arg0, arg1, arg2);
  }
  </code></pre>
  <p>I am struggling with the API, where I'm currently is</p>
  <pre><code>        .defineMethod(&quot;setDefault&quot;, Void.TYPE, Visibility.PACKAGE_PRIVATE, Ownership.STATIC, MethodArguments.PLAIN)
              .withParameters(Supplier.class, String[].class, String[].class)
          .intercept(....)
  </code></pre>
  <p>I believe I need <code>FieldAccessor.ofField</code> and <code>MethodCall.construct</code> however I'm struggling to come up with a <code>MethodDescription</code> for the constructor of the to be generated class.</p>