title: dagger cannot inject type parameter field
body: <p>I'm working on an android application and I'm trying to inject a field which is type parameterized in an abstract class : BaseListFragment</p>
  
  <pre><code>public abstract class BaseListFragment&lt;E, A extends ArrayAdapter&lt;E&gt;, S&gt; extends BaseFragment
  {
      @Inject protected S service;
  }
  </code></pre>
  
  <p>But I get this following error at compile : 
  error: cannot find symbol class S</p>
  
  <p>Here is my code for BaseFragment : </p>
  
  <pre><code>public class BaseFragment extends Fragment
  {
      @Override public void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          ((App) getActivity().getApplication()).inject(this);
      }
  }
  </code></pre>
  
  <p>here is my service module :</p>
  
  <pre><code>@Module(
          complete = false,
          library = true
  )
  public class ServiceModule
  {
      @Provides @Singleton BucketService provideBucketService(RestAdapter restAdapter)
      {
          return restAdapter.create(BucketService.class);
      }
  
      @Provides @Singleton ProjectService provideProjectService(RestAdapter restAdapter)
      {
          return restAdapter.create(ProjectService.class);
      }
  
      @Provides @Singleton ShotService provideShotService(RestAdapter restAdapter)
      {
          return restAdapter.create(ShotService.class);
      }
  
      @Provides @Singleton TeamService provideTeamService(RestAdapter restAdapter)
      {
          return restAdapter.create(TeamService.class);
      }
  
      @Provides @Singleton UserService provideUserService(RestAdapter restAdapter)
      {
          return restAdapter.create(UserService.class);
      }
  }
  </code></pre>
  
  <p>And here is an example of a class extending BaseListFragment :</p>
  
  <pre><code>public class ProjectFragment extends BaseEntityFragment&lt;Project, ProjectViewAdapter, ProjectService&gt;
  {
  }
  </code></pre>
  
  <p>Is there anyway to inject a parameterized type ?</p>
  
  <p>Regards,</p>