<p>I'm currently creating an explicit reference to this in the outer class so that I have a name to refer to in the anonymous inner class.  Is there a better way to do this?</p>

Use
```
EnclosingClass.this
```