The question that is being asked is if you have a static method inside an inner class, what would you call this static method? The answer is that you cannot.
The inner class is bound to instances of the outer class.
From effective Java - "Every instance of a non-static [nested] class is implicitly associated with a containing instance of its containing class."
This is the reason why the static "inner" class is static. This is actually a static nested class and its full-blown class, which is just present in the enclosing class for ease of packaging.
Kal
source share