I'm wondering how the enum properties are treated by kotlin. If we have an enum with the following structure:
enum class MyEnun(var sampleObject: MyObjectType){
ONE(MyObjectType(blabla)),
TWO(MyObjectType(blabla))
}
Are the two MyObjectType instances created in a lazy way or, on the contrary, they will be created when the enum is created?