anonymous inner classes cannot use local variables from the scope around them. In fact, apart from their "inner" quality they don't have any connection to the context where they were created.
That, and not their awkward syntax is the reason they aren't used.