Migrate to newer API
This commit is contained in:
@@ -58,5 +58,5 @@ public fun isKotlinInternalCompiledFile(file: VirtualFile): Boolean {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
val header = KotlinBinaryClassCache.getKotlinBinaryClass(file).getClassHeader()
|
val header = KotlinBinaryClassCache.getKotlinBinaryClass(file).getClassHeader()
|
||||||
return header != null && header.getKind() == KotlinClassHeader.Kind.PACKAGE_FRAGMENT
|
return header != null && header.getKind() == KotlinClassHeader.Kind.PACKAGE_PART
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user