class Test extends Super{ public void contextChild() { Super.StInner inner1 = new Super.StInner(); Super.InstInner inner2 = this.new InstInner(); } }