Files
openide/java/java-tests/testData/psi/optimizeImports/DoNotInsertImportForClassVisibleByInheritanceWithModuleConflictDoNotDeleteModule.java
Mikhail Pyltsinandintellij-monorepo-bot cebd8c18cd [java-import] IDEA-369199 Preserve module imports even if they are not used
- new options
- don't highlight such imports as unused
- delete imports of nested modules
- preserve high-level modules during 'optimize import'

GitOrigin-RevId: 3728f41a934f320767caac0a643a5869ccc84bcc
2025-05-14 20:29:11 +00:00

22 lines
338 B
Java

import module java.base;
import one.Super;
import two.*;
import three.*;
class DoNotInsertImportForClassVisibleByInheritanceWithModuleConflict implements Super {
One one;
Two two;
Three three;
Four four;
Five five;
Six six;
Seven seven;
Eight eight;
Nine nine;
Ten ten;
Result x() {
return new Result();
}
}