title: Dynamic class creation with Fields from other classes
body: <p>Example:</p>
  
  <pre><code>public class MyObject{
      @SerializedName("hello")
      @NotNull @MaxLength(256) @NotEmpty
      private String hello;
  }
  
  public class MyOtherObject{
      @SerializedName("world")
      @NotNull @MaxLength(512) @NotEmpty
      private String world;
  }
  </code></pre>
  
  <p>How to dynamically generate a class MyDynamicHelloWorldObject such that it becomes the equivalent of:</p>
  
  <pre><code>public class MyDynamicHelloWorldObject{
      @SerializedName("hello")
      @NotNull @MaxLength(256) @NotEmpty
      private String hello;
  
      @SerializedName("world")
      @NotNull @MaxLength(512) @NotEmpty
      private String world;
  }
  </code></pre>
  
  <p>Looking for solutions because copying and pasting is going to lead to errors, especially when code is changed in the future.</p>