title: unchecked call to member of raw type
body: <pre><code>Android Studio 2.1.2
  </code></pre>
  
  <p>I am having this warning and I can't seem to find why. I am not using any raw types.</p>
  
  <pre><code>Unchecked call to attachView(DownloadViewContract) as a member of raw type
  </code></pre>
  
  <p>I have the following interface</p>
  
  <pre><code>public interface DownloadPresenterContract {
      interface Operations&lt;DownloadViewContract&gt; {
          void attachView(DownloadViewContract view);
          void detachView();
          void getData();
      }
  }
  </code></pre>
  
  <p>And the following implementation</p>
  
  <pre><code>public class DownloadPresenterImp implements
          DownloadPresenterContract.Operations&lt;DownloadViewContract&gt; {
  
      private DownloadViewContract mView;
  
      private DownloadPresenterImp() {
      }
  
      public static DownloadPresenterImp getNewInstance() {
          return new DownloadPresenterImp();
      }
  
      /* Operations */
      @Override
      public void attachView(DownloadViewContract view) {
          mView = view;
      }
  }
  </code></pre>
  
  <p>This is the interface for my view</p>
  
  <pre><code>public interface DownloadViewContract {
      void onSuccessDownload();
      void onFailureDownload(String errMsg);
  }
  </code></pre>
  
  <p>And in my fragment which is my view</p>
  
  <pre><code>public class DownloadView extends Fragment implements DownloadViewContract {
      @Override
      public void onActivityCreated(Bundle savedInstanceState) {
          mDownloadPresenterContract = DownloadPresenterImp.getNewInstance();
  
          /* UNCHECKED MEMBER TO RAW TYPE */
          mDownloadPresenterContract.attachView(DownloadView.this);
      }
      .....
  }
  </code></pre>
  
  <p>I don't understand why I am getting the warning as I am explicitly naming the <code>DownloadViewContract</code> as the type in my presenter interface. And as my view implements the <code>DownloadViewContract</code> interface I don't think there should be any problem.</p>
  
  <p>Many thanks for any suggestions,</p>