Commit Graph

5 Commits

Author SHA1 Message Date
Artemiy Sartakov
79f7d4dd58 Revert "Sealed classes: restricted keyword/identifier -> contextual keyword (IDEA-257414)"
This reverts commit a3b7cb3c

GitOrigin-RevId: bc91ae528d6f836e9cf43c19e9923286c8de0a9c
2021-02-04 09:33:52 +00:00
Artemiy Sartakov
45d71a0820 Sealed classes: restricted keyword/identifier -> contextual keyword (IDEA-257414)
GitOrigin-RevId: a3b7cb3c6eb3a65f78cf473fb93ddfa9946dea38
2021-01-19 09:22:09 +00:00
Tagir Valeev
34243206dc Report new restricted identifiers: 'yield' and 'record'.
Fixes IDEA-230808 Disallow usage of 'record' as type name
Fixes IDEA-226604 Disallow using the 'yield' as the class name since Java 14

GitOrigin-RevId: a97753893fd8d0dac98a1a76f499b8c9474c3a7f
2020-01-17 11:12:57 +00:00
Anna.Kozlova
ef689b16b1 LVTI: warn on references to illegal class var (IDEA-180079) 2017-10-13 20:25:49 +02:00
Anna Kozlova
29bc5a12c0 LVTI: warnings for var as class name (IDEA-178868) 2017-09-18 19:05:20 +03:00