Commit Graph

3 Commits

Author SHA1 Message Date
Mikhail Pyltsin
f27595c831 [java-highlighting] IJ-CR-132825 IDEA-352187 Support JEP 455: highlighting for instanceof with primitives
- use `HighlightUtil.checkFeature` for PRIMITIVE_TYPES_IN_PATTERNS
- simplify tests
- add javadocs a bit

GitOrigin-RevId: 61019896534a11e1c7e2f281054d49a32a8ab8e6
2024-05-01 21:37:16 +00:00
Mikhail Pyltsin
cb3916ded4 [java-highlighting] IDEA-324544 Support intersections for exhaustiveness
GitOrigin-RevId: c87035335aa16dd8ff50d903cc9de814fe7b6a30
2023-07-08 13:44:35 +00:00
Mikhail Pyltsin
4bc43b46f4 [java-highlighting] IDEA-323955 Record patterns support available only for Java 20 preview. Fix compiler errors and tests
GitOrigin-RevId: 5f856519e56e61818e95cf63766fb6a54c6283ad
2023-07-05 12:09:22 +00:00