lundi 29 décembre 2014

Java: Is it possible to get reference to instantiating object through reflection?

I'd like to get a reference to the object that created this object (i.e. by calling new) through reflection or using a ClassLoader or similar hack? Is there any way to do this? No need to ask why I'd like to do this or offer alternatives because I'm just looking for a yes or no answer. Thanks a lot






Aucun commentaire:

Enregistrer un commentaire