ClassDefinition is a supertype of JavaClass interface (so it represents all regular classes) and besides that it is also used to represent annonymous classes (declared as part of NewClassExpressions).

Source: NetBeans FAQ