[java-highlighting] WIP IDEA-372968 Support JEP 511: Module Import Declarations

- nothing changed in jep, more tests

GitOrigin-RevId: 03e655a19855acdfe1f7983b25c6aa7158b73393
This commit is contained in:
Mikhail Pyltsin
2025-06-20 15:09:14 +02:00
committed by intellij-monorepo-bot
parent 7e63177200
commit 19096c38a1
6 changed files with 135 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
<error descr="Module Import Declarations are not supported at language level '24'">import module java.base;</error>
import a.b.*;
class A{
<error descr="Reference to 'List' is ambiguous, both 'a.b.List' and 'java.util.List' match">List</error> a;
}

View File

@@ -0,0 +1,6 @@
import a.b.*;
List<caret> a;
void main() {
}

View File

@@ -0,0 +1,6 @@
import static a.b.Other.*;
List<caret> a;
void main() {
}