[java-highlighting] IDEA-372969 Support JEP 512: Compact Source Files and Instance Main Methods

- set language levels for features
- fix tests
- new tests for new language levels

(cherry picked from commit 5259088ac10962f8f9373fbea29e01adb2bf7333)


(cherry picked from commit 4940a2ab6b683285d979c8aa0f86cbb775e9059d)

IJ-MR-169535

GitOrigin-RevId: 38e23b3294a45eacc56947e43c2b6d93c80da9cb
This commit is contained in:
Mikhail Pyltsin
2025-06-24 15:03:20 +02:00
committed by intellij-monorepo-bot
parent 50d43c5da8
commit c9b0e755ce
24 changed files with 243 additions and 89 deletions

View File

@@ -0,0 +1,3 @@
void main() {
println("Hello!");
}