I have a maven source code generator that I wrote that is creating POJO classes from some data files that have nested namespaces. I w
Depending on what you're after, the following might work for you:
public class A { class B extends C { } public static void main(String[] args) { new A().new B().new A(); } } class C { class A { { System.out.println(getClass()); } } }