title: How to apply complex generic method to class with wildcard generic type?
body: <p>There are something like:</p>
  
  <pre class="lang-java prettyprint-override"><code>&lt;T&gt; Identifier&lt;Set&lt;T&gt;&gt; myMethod(Iterable&lt;? extends Element&lt;Identifier&lt;T&gt;&gt;&gt; input) {…}
  </code></pre>
  
  <pre class="lang-java prettyprint-override"><code>class MyClass implements Element&lt;Identifier&lt;?&gt;&gt; {…}
  </code></pre>
  
  <pre class="lang-java prettyprint-override"><code>Iterable&lt;MyClass&gt; a = …;
  </code></pre>
  
  <p>How could I pass <code>a</code> to <code>myMethod</code> to get <code>Identifier&lt;Set&lt;?&gt;&gt;</code>?</p>