This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Not without using reflection and a factory class, but then that begs the question, why not either rename the outer class A or better put it in a separate package and file. The inner class A hides the outer class just like a method local variable with the same name as an instance variable will hide it. Here's a reflection solution:
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher