Accessing a superclass's method of and instance of outter class from static inner class
posted 6 years ago
It seems to me like class B may need to be non-static; it then gets an automatic reference to its enclosing instance of class A. It can then simply call "methodC". If that would cause name clashes you can use A.this.methodC -- the A.this is the reference to the enclosing instance.