author and iconoclast
posted 11 years ago
Just because the language specification provides no way to do it. I suppose the logic was that if you need to do anything that complicated, then it's worth creating a class with a name. Anonymous classes are supposed to be tiny one-liners -- anything larger belongs in a named class.