The thing that bothers me is the second point.
I thought it might have to do with the fact that the "this" pointer isn't static and so the inner class can't access it. I'm not sure if that's the right explanation though.
This also raised another question for me which was "where is the "this" pointer defined?"
The difference between a
static
nested class and one that isn'tstatic
is precisely that an instance of a non-static
inner class is associated with a specific instance of the enclosing class, while astatic
inner class isn't. There is noA.this
for an instance of astatic
inner class to be associated with.