title: Generics: try pass parametrized collection to List addAll method
body: <p>I have code (full source code):</p>
  
  <pre><code>public class AutoConversionTest {
  
      @Test
      public void test_autoConversion() {
          Wrapper wrapper = new Wrapper();
          wrapper.setList(new ArrayList&lt;Sub&gt;());
          wrapper.addAll(new ArrayList&lt;Sub&gt;());
      }
  
      class Wrapper {
          List&lt;? extends Super&gt; list;
  
          public void setList(List&lt;? extends Super&gt; list) {
              this.list = list;
          }
  
          public void addAll(List&lt;? extends Super&gt; list) {
              this.list.addAll(list);  //TROUBLES!
          }
      }
  
      class Super {}
  
      class Sub extends Super {}
  }
  </code></pre>
  
  <p><strong>Question</strong>:
  Wy error and how to sovle it?</p>
  
  <p><strong>EDITED</strong>: my error log</p>
  
  <pre><code>java: no suitable method found for `addAll(java.util.List&lt;? extends expectations.public_method.experiments.AutoConversionTest.Super&gt;)`
   method `java.util.List.addAll(int,java.util.Collection&lt;? extends expectations.public_method.experiments.AutoConversionTest.Super&gt;)` is not applicable (actual and formal argument lists differ in length)
   method `java.util.List.addAll(java.util.Collection&lt;? extends expectations.public_method.experiments.AutoConversionTest.Super&gt;)` is not applicable (actual argument `java.util.List&lt;? extends expectations.public_method.experiments.AutoConversionTest.Super&gt;` cannot be converted to `java.util.Collection&lt;? extends expectations.public_method.experiments.AutoConversionTest.Super&gt;` by method invocation conversion)
  </code></pre>