This week's book giveaway is in the Testing forum. We're giving away four copies of Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples and have Jeremy Kubica on-line! See this thread for details.
You can call enclosing method from within that method's inner class, it is legal, your code will compile. But as you know we cannot access local variables of enclosing method from method-local inner class then why you need to invoke that method from the class.
When I ran this program I got output like this. "enclosing method". -Looks like code doesn't go into the method-local inner class. That's why it doesn't print "inner class method".