What is the advantage of local classes in Java or in any other language that makes use of this feature?
There are a number of things that you can do with local classes that you don't get with anonymous inner classes.
On the other hand they make some hideously verbose syntax even messier.