6342e6ecad
enum class, which is extended by enum entries, should not be final. (Those enum entries should be, instead.) enum class itself wouldn't be instantiated, and thus it's technically abstract, but having a private ctor() would be an option. For the latter case, we can simply put no modality modifier.