getting the caller name.
Hi All.
I waned to know if thre are any ways I can know the caller class/object type from with in a code.
I mean if there is a method foo() inside, a class A.
if there are 2 classes B and C extend A; can I write few lines of code inside A.foo() to know that the invoker of method foo is an instance of class B or C?
Any pointers will be helpful.
Rgds

