author and iconoclast
posted 9 years ago
But you know which class you are in - it's static so it only belongs to the class in which it is coded. Therefore, you know it's class "abc". And if you know it's class "abc", you can get the Class object using "abc.class". So the name can be retrieved using "abc.class.getName()".