is there an equivalent for the java reflection foo.getClass().getFields() in Kotlin? I could only find that I can access a field when I know it's name, but I would like to handle fields in a generic way.
foo.getClass().getFields()
Aucun commentaire:
Enregistrer un commentaire