public class X<P, C> { public X() { if (!(this instanceof @Marker X)) { } } }