Sorry, I didn't mean to say that it was bad, but just that I was curious as to why it can't be an anonymous class.