title: Guice injecting Generic type
body: <p>I'am trying to Inject generic type with Guice. I have Repository&lt; T > which is located in the Cursor class.</p>
  
  <pre><code>public class Cursor&lt;T&gt; {
  
      @Inject
      protected Repository&lt;T&gt; repository;
  </code></pre>
  
  <p>So when I create Cursor&lt; User >, I also want the Guice to inject my repository to Repository&lt; User >. Is there a way to do this?</p>