An Object is given:
object ObjectA{ val member1 = ClassX(...) val member2 = ClassX(...) }
Is it possible to get access to all members dynamically? I would like to iterate through all of them to avoid tons of the same code.
Aucun commentaire:
Enregistrer un commentaire