3 Commits

Author SHA1 Message Date
Mikhail Pyltsin
c50d80250d [java-highlighting] IJ-CR-132828 IDEA-352588 Support JEP 455: highlighting for switch with primitives
- chars print as themselves without a conversion

GitOrigin-RevId: beee890cd3fca0d4ae907645f76e9f28f173ad09
2024-05-04 17:18:12 +00:00
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
45160db0df [java-highlighting] IDEA-352588 Support JEP 455: highlighting for switch with primitives
GitOrigin-RevId: 06636352b202037ec3400b2f9763e101d8ed6042
2024-04-29 21:17:42 +00:00