Can you get the instance variable name from a class?
56789
Getting the class name of an instance?
119393
Get an object's class name at runtime
153126
How do I get the calling method name and type using reflection?
34204
Difference between class variables and class instance variables?
44561
How to reference non-static variable name from static context?
26337
Getting the name of the currently executing method
24428
Can you use reflection to find the name of the currently executing method?
101578
How to find each instance of a class in Ruby
121064
How to get class instances in Ruby?
68152
How to get the name of the calling class in Java?
57438
Python: Reference to a class from a string?
146996
Get all instances of a class in PHP
13936
What is the difference between class and instance attributes?
143415
In Python, can you call an instance method of class A, but pass in an instance of class B?
78681
How to print instances of a class using print()?
44122
How to get the caller's method name in the called method?
15912
Java reflection: how to get field value from an object, not knowing its class