title: Troubleshooting "The type parameter T is hiding the type T" warning
body: <p>I am getting a warning in eclipse (the most recent version) for the following code.</p>
  <pre><code>public interface A&lt;T&gt; extends B&lt;T&gt; {
       public T getObject();
  }
  </code></pre>
  <p>The warning appears at 'T' in 'A' and reads:  &quot;The type parameter T is hiding the type T&quot;.</p>
  <p>The weird part is that the following code generates no errors or warnings.</p>
  <pre><code>public interface A extends B&lt;T&gt; {
       public T getObject();
  }
  </code></pre>
  <p>But now I can't extend A while telling it what type <code>T</code> is.</p>
  <p>I am completely confused. Anyone know why this is happening?</p>