[openapi] clean up CompilerPaths: add some nullability annotations

GitOrigin-RevId: fc0fce165afe9019050c54d6e2d665b2eca43f5e
This commit is contained in:
Bartek Pacia
2025-11-03 12:07:21 +00:00
committed by intellij-monorepo-bot
parent 8679ed6861
commit 0ed05175fe
2 changed files with 5 additions and 6 deletions
@@ -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)