class <warning descr="Use of 'var' as a class name is not supported in releases since Java 10">var</warning> {}
class <warning descr="Use of 'yield' as a class name is not supported in releases since Java 14">yield</warning> {}
class <warning descr="Use of 'record' as a class name is not supported in releases since Java 16">record</warning> {}
class <warning descr="Use of 'permits' as a class name is not supported in releases since Java 17">permits</warning> {}
class <warning descr="Use of 'sealed' as a class name is not supported in releases since Java 17">sealed</warning> {}
class when {}