Migrate to newer API

This commit is contained in:
Pavel V. Talanov
2014-03-04 19:28:14 +04:00
parent 7db9d31a70
commit 825dacfd13
@@ -58,5 +58,5 @@ public fun isKotlinInternalCompiledFile(file: VirtualFile): Boolean {
return true
}
val header = KotlinBinaryClassCache.getKotlinBinaryClass(file).getClassHeader()
return header != null && header.getKind() == KotlinClassHeader.Kind.PACKAGE_FRAGMENT
return header != null && header.getKind() == KotlinClassHeader.Kind.PACKAGE_PART
}