mercredi 8 avril 2015

java reflection API to generate .java source files?

I have a question on my java homework that is asking me to generate .java source file from .class file using reflection API.


I'm trying to figure out if it is asking me to instantiate an instance of that class using reflection or actually generate a source file, because from I've read generating a .java file using reflection isn't possible.


Anyone with more experience who could help clarify this for me would be awesome.






Aucun commentaire:

Enregistrer un commentaire