title: Raw type. References to generic types should be parameterized
body: <p>I have a Cage class:</p>
  
  <pre><code>public class Cage&lt;T extends Animal&gt; {
  // the construtor takes in an integer as an explicit parameter
  ...
  }
  </code></pre>
  
  <p>I am trying to instantiate an object of Cage in another class main method:</p>
  
  <pre><code>private Cage cage5 = new Cage(5);
  </code></pre>
  
  <p>I get the error: Cage is a raw type. References to generic type Cage should be parameterized. I tried several ideas, but am stuck about this tricky syntax :o(</p>