I would like to know the best approach to check in a method, which object has called it. For instance:
class a
class b
class utility c (c has a method x())
How can I know inside x method wich class, a or b, called it?
thanks
I would like to know the best approach to check in a method, which object has called it. For instance:
class a
class b
class utility c (c has a method x())
How can I know inside x method wich class, a or b, called it?
thanks