vendredi 13 septembre 2019

How can I get classes from a package using reflection?

I have a package like "org.bar.baz". I need to get classes from this package using reflection.

Package p = Package.getPackage("org.baz.bar");
Class[] classes = ?;

How can this be implemented (if at all possible) ? Thank! :)





Aucun commentaire:

Enregistrer un commentaire