title: JCodeModel: Attributes and Lists with special class-types
body: <p>I started to work with the JCodeModel today.
  I want to add Attributes with other types than int, String, boolean etc. to my JDefinedClass. The final Java Code built by the JCodeModel should look like:</p>
  
  <pre><code>public Class Team {
      private int teamID;
      private String teamName;
      private Coach coach;
  }
  </code></pre>
  
  <p>How can I add the Field coach with the class type "Coach" with the JCodeModel?</p>
  
  <pre><code>jClass.field(JMod.PRIVATE, *???*, coach);
  </code></pre>
  
  <p>The second question is:
  How do I add e.g.</p>
  
  <pre><code>ArrayList&lt;Coach&gt; coachList;
  </code></pre>
  
  <p>to my attribute List?
  Thanks</p>