assertAreEnums
Asserts that all class declarations represent enum classes.
Example:
classes.assertAreEnums()Content copied to clipboard
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.