Use LightJavaModule.getModule instead of deprecated getModule
#KT-35918 Comment
This commit is contained in:
@@ -64,7 +64,7 @@ public class ModuleHighlightUtil2 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (root.getFileSystem() instanceof JarFileSystem && "jar".equalsIgnoreCase(root.getExtension())) {
|
else if (root.getFileSystem() instanceof JarFileSystem && "jar".equalsIgnoreCase(root.getExtension())) {
|
||||||
return LightJavaModule.getModule(PsiManager.getInstance(project), root);
|
return LightJavaModule.findModule(PsiManager.getInstance(project), root);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((root = index.getSourceRootForFile(file)) != null) {
|
else if ((root = index.getSourceRootForFile(file)) != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user