title: Determine if generic types are equal
body: <pre><code>public class A&lt;T&gt; {
      public &lt;K&gt; void m(A&lt;K&gt; target) {
          // determine if T equals K
      }
  }
  </code></pre>
  
  <p>Is it possible to check if <code>&lt;T&gt;</code> and <code>&lt;K&gt;</code> are the same types?</p>