calling a function in a class's "owner" class
<p>Following pseudocode sums up my question pretty well I think...</p>

<pre><code>class Owner {
    Bar b = new Bar();

    dostuff(){...}
}    

class Bar {
    Bar() {
        //I want to call Owner.dostuff() here
    }
}
</code></pre>

<p><code>Bar b</code> is 'owned' (whats the proper word?) by <code>Owner</code> (it 'has a'). So how would an object of type <code>Bar</code> call <code>Owner.dostuff()</code>?</p>

<p>At first I was thinking <code>super();</code>, but that's for inherited classes. Then I was thinking pass an interface, am I on the right track?</p>
