Use the new `IrClass.hasEnumEntries` flag added in the previous commit. #KT-61208 Fixed
hashCode, toString, equals