title: No enclosing instance of type MySuperClass<B> is available due to some intermediate constructor
body: <p>I was trying to use an inner class of the super type, which was using generics. And got that strange error above.</p>
  
  <pre><code>class MySuperClass&lt;B&gt; {
     class InnerClass {
     }
  
     MySuperClass(InnerClass... c) {
     }
  }
  </code></pre>
  
  <p>In the sub class I tried to instantiate it:</p>
  
  <pre><code>class MySubClass extends MySuperClass&lt;String&gt; {
     MySubClass() {
        super(new InnerClass(), new InnerClass());
     }
  }
  </code></pre>
  
  <p>The compiler confused me with</p>
  
  <pre><code>No enclosing instance of type MySuperClass&lt;B&gt; is available due to some intermediate constructor
  </code></pre>
  
  <p>Why?</p>