Refering to "this" while invoking super constructor?
<p>I have a class A and write a subclass B. A has only one constructor which is parameterised. B has to call this super constructur of A.
Now I want to use an Object as a parameter. This object should call a method of B. So the parameter-object has to hold a reference of B or has to be an inner class. </p>

<pre><code>public B(){
   super.(new parameter(this))
}
</code></pre>

<p>Now when I want to invoke the contructe like... Eclipse says:</p>

<pre><code>Cannot refer to 'this' nor 'super' while explicitly invoking a constructor
</code></pre>

<p>The only thing I see to get around this, is a set-method, to inject the "this"-instance into the parameter object. I would not like to edit the super-class.</p>

<p>Do you see any better way around this.</p>
