Rule Definition
For maintenance reason, using anonymous Classes should be done only when necessary since it makes the application more difficult to understand and modify. There are some exception to this rule such as event listener in swing, the visitor pattern...
Related Technologies
JEE
Technical Criterion
Complexity - OO Inheritance and Polymorphism
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.