lundi 22 janvier 2018

Creating an instance using reflection with varying constructor parameters

I'm attempting to create an instance of a class at run time within my Kotlin program using reflection. However, the type and number of constructor arguments will vary. Is there a way of implementing a solution to plan ahead for unknown constructors?

Thanks





Aucun commentaire:

Enregistrer un commentaire