// "Replace with <>" "true-preview" interface I { I then(T t); } class J {} class MyTest { I when(K p) { return null;} void m(J l){ when(l).then((J)new Jing>()); } }