mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[openapi] clean up CompilerPaths: add some nullability annotations
GitOrigin-RevId: fc0fce165afe9019050c54d6e2d665b2eca43f5e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8679ed6861
commit
0ed05175fe
@@ -50,7 +50,6 @@ public object ByteCodeViewerManager {
|
||||
val fileIndex = ProjectFileIndex.getInstance(psiClass.project)
|
||||
val module = fileIndex.getModuleForFile(file) ?: return null
|
||||
for (compilerOutputPath in CompilerPaths.getOutputPaths(arrayOf(module))) {
|
||||
if (compilerOutputPath == null) continue
|
||||
val classRoot = VirtualFileManager.getInstance().findFileByNioPath(Path.of(compilerOutputPath)) ?: continue
|
||||
val relativeClassFilePath = jvmClassName.replace('.', '/') + ".class"
|
||||
val classFile = classRoot.resolveFromRootOrRelative(relativeClassFilePath)
|
||||
|
||||
Reference in New Issue
Block a user