There are no standard tools to get the class name at compile time. Adding such custom behavior is not likely to be difficult, but will require adding custom code to your compiler. Finding where FUNCTION is defined is likely to be a good starting point.
When looking for a very specific type of solution, such as in this case, it is usually best to mention before the problem you want to solve, instead of determining the conditions for your desired solution.
, , , , , , , . , , , , , ( , - , , , , ), , , , , . , , , , , , , , . , , , , ( , , ObjC ) ( ).