Files
openide/python/IntelliLang-python/intellij.python.langInjection.iml
T
Mikhail Filippov e1a6f87fd1 IJPL-221307 add missing module dependencies for JDK25 compilation
JDK25 javac processes type annotations (@NotNull/@Nullable) on ALL methods
of a loaded class, not just the ones being called. This means that if module M
uses class C, and C has a method whose signature references type T from
dependency D, then M needs D on its classpath — even if M never calls that
method and jdeps doesn't show a direct reference.

Example error:
Cannot attach type annotations @org.jetbrains.annotations.NotNull
to com.intellij.openapi.ui.DialogWrapper.showAndGetOk:
class file for com.intellij.openapi.util.AsyncResult not found

GitOrigin-RevId: 4871d18cb2c05c658cb0dfcabd74a8452cf7f8ee
2026-03-11 08:44:27 +00:00

19 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module" module-name="intellij.platform.core" />
<orderEntry type="module" module-name="intellij.platform.langInjection" />
<orderEntry type="module" module-name="intellij.platform.projectModel" />
<orderEntry type="module" module-name="intellij.python.community.impl" />
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
<orderEntry type="module" module-name="intellij.libraries.stream" />
<orderEntry type="module" module-name="intellij.libraries.kotlinx.collections.immutable" />
</component>
</module>