But you don't need the inner class to have a reference to the outer class object.
You can supress the generation of that reference by declaring the inner class static.