title: Arguments not applicable with Generics in SpringFramework CrudRepository
body: <p>I have the following complete code:</p>
  
  <pre><code>public class Test
  {
      private abstract class A {}
      private abstract class B&lt;T extends A&gt;
      {
          public abstract void addR(T r);
      }
      public void main(String[] args)
      {
          A a;
          B&lt;? extends A&gt; b;
          b.addR(a);
      }
  }
  </code></pre>
  
  <p>This gives the following error:</p>
  
  <p>The method addR(capture#1-of ? extends Test.A) in the type Test.B is not applicable for the arguments (Test.A)</p>
  
  <p>Can anyone suggest a solution?</p>