Is there a function that returns the current class/method name?
106862
C# getting its own class name
118180
Get the current script file name
53337
How do you find all subclasses of a given class in Java?
30244
Is there any way to tell the compiler, inside the main file body, how to find the class?
26947
Converting a string to a class name
99307
How can I safely (and easily) count *all* instances of a class within my program?
29612
How to find the name of a variable that was passed to a function?
38269
Getting the name of a child class in PHP
12516
How can I find the method that called the current method?
70956
Is there something like self for class methods?
75111
Key to get help about current function
87246
How to get the name of the calling method?
66337
Can I obtain method parameter name using Java reflection?
24428
Can you use reflection to find the name of the currently executing method?
62194
How can you get the names of method parameters?
64597
How to get a JavaScript object's class?
123237
Class methods as event handlers in JavaScript?