mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
Introduce `EnvironmentScopedProjectJdkLookup` interface for environment‑aware SDK resolution and make `ProjectJdkTableImpl` implement it. Add `findJdk(String, InternalEnvironmentName)` and `findJdk(String, String, InternalEnvironmentName)` methods that delegate to `SdkTableImplementationDelegate#findSdkByName(String, InternalEnvironmentName)`. Update `ProjectJdkTableProjectView.findJdk(...)` (both overloads) to use the interface methods with environment from the project descriptor. This enables per‑environment SDK separation, reduces unnecessary cross‑environment lookups, and improves correctness without changing external behavior. (cherry picked from commit 73fefa0c54c2156e824da9f081f70efea262b933) IJ-CR-180956 GitOrigin-RevId: 160cfcffeea6209e974d137a0cc144d52170c62b
65 lines
4.2 KiB
XML
65 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<module relativePaths="true" type="JAVA_MODULE" version="4">
|
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
<exclude-output />
|
|
<content url="file://$MODULE_DIR$">
|
|
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
</content>
|
|
<orderEntry type="inheritedJdk" />
|
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
<orderEntry type="module" module-name="intellij.java" />
|
|
<orderEntry type="module" module-name="intellij.java.testFramework.shared" exported="" />
|
|
<orderEntry type="module" module-name="intellij.platform.analysis" />
|
|
<orderEntry type="module" module-name="intellij.platform.codeStyle" />
|
|
<orderEntry type="module" module-name="intellij.platform.core" />
|
|
<orderEntry type="module" module-name="intellij.platform.editor.ui" />
|
|
<orderEntry type="module" module-name="intellij.platform.indexing" />
|
|
<orderEntry type="module" module-name="intellij.platform.jps.model" />
|
|
<orderEntry type="module" module-name="intellij.platform.lang.core" />
|
|
<orderEntry type="module" module-name="intellij.platform.projectModel" />
|
|
<orderEntry type="module" module-name="intellij.platform.refactoring" />
|
|
<orderEntry type="module" module-name="intellij.platform.structureView.impl" />
|
|
<orderEntry type="module" module-name="intellij.platform.util" exported="" />
|
|
<orderEntry type="module" module-name="intellij.libraries.junit4" />
|
|
<orderEntry type="module" module-name="intellij.platform.util.jdom" />
|
|
<orderEntry type="module" module-name="intellij.platform.lang" exported="" />
|
|
<orderEntry type="module" module-name="intellij.platform.backend.workspace" />
|
|
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
|
|
<orderEntry type="module" module-name="intellij.java.compiler.impl" />
|
|
<orderEntry type="module" module-name="intellij.java.debugger" />
|
|
<orderEntry type="module" module-name="intellij.java.impl" exported="" />
|
|
<orderEntry type="module" module-name="intellij.platform.ide.core.impl" />
|
|
<orderEntry type="module" module-name="intellij.java.execution.impl" />
|
|
<orderEntry type="module" module-name="intellij.java.plugin" scope="RUNTIME" />
|
|
<orderEntry type="module" module-name="intellij.platform.editor.ex" />
|
|
<orderEntry type="module" module-name="intellij.platform.testFramework" />
|
|
<orderEntry type="module" module-name="intellij.platform.workspace.storage" />
|
|
<orderEntry type="module" module-name="intellij.relaxng" scope="TEST" />
|
|
<orderEntry type="module" module-name="intellij.java.ui" />
|
|
<orderEntry type="module" module-name="intellij.java.debugger.impl" />
|
|
<orderEntry type="module" module-name="intellij.java.execution" />
|
|
<orderEntry type="module" module-name="intellij.platform.externalSystem.impl" scope="RUNTIME" />
|
|
<orderEntry type="module" module-name="intellij.platform.jps.build" />
|
|
<orderEntry type="module" module-name="intellij.libraries.stream" />
|
|
<orderEntry type="module" module-name="intellij.libraries.fastutil" />
|
|
<orderEntry type="module" module-name="intellij.platform.core.ui" />
|
|
<orderEntry type="module" module-name="intellij.platform.codeStyle.impl" />
|
|
<orderEntry type="module" module-name="intellij.platform.ide.util.io" />
|
|
<orderEntry type="module" module-name="intellij.libraries.asm" />
|
|
<orderEntry type="library" name="org.codehaus.groovy:groovy" level="project" />
|
|
<orderEntry type="module" module-name="intellij.java.impl.refactorings" />
|
|
<orderEntry type="module" module-name="intellij.platform.debugger.impl" />
|
|
<orderEntry type="module" module-name="intellij.platform.backend.observation" />
|
|
<orderEntry type="module" module-name="intellij.java.debugger.impl.shared" />
|
|
<orderEntry type="module" module-name="intellij.platform.debugger.testFramework" />
|
|
<orderEntry type="module" module-name="intellij.xml.psi" />
|
|
<orderEntry type="module" module-name="intellij.java.syntax" />
|
|
<orderEntry type="module" module-name="intellij.platform.eel" />
|
|
</component>
|
|
<component name="copyright">
|
|
<Base>
|
|
<setting name="state" value="1" />
|
|
</Base>
|
|
</component>
|
|
</module> |