Is it possible to get an object that invoked static method in this method?
I have this code:
class A{ static void foo(){ } } A a = new A(); a.foo
By definition, there is no instance object for a static method (static methods do not operate on a specific object, they are defined within a class purely for namespacing) -- so no.
static