assertAreEnums

Asserts that all class declarations represent enum classes.

Example:

classes.assertAreEnums()

Throws

if any class is not an enum class.


Asserts that all class declarations in the scope represent enum classes.

Throws

if any class is not an enum class.