@@ -77,7 +77,7 @@ open class KotlinUsesExtractor(
7777 TypeResult (fakeKotlinType(), " " , " " )
7878 )
7979
80- fun useFileClassType (pkg : String , jvmName : String ) = TypeResults (
80+ private fun useFileClassType (pkg : String , jvmName : String ) = TypeResults (
8181 TypeResult (extractFileClass(pkg, jvmName), " " , " " ),
8282 TypeResult (fakeKotlinType(), " " , " " )
8383 )
@@ -94,13 +94,13 @@ open class KotlinUsesExtractor(
9494 return id
9595 }
9696
97- fun extractFileClass (fqName : FqName ): Label <out DbClassorinterface > {
97+ private fun extractFileClass (fqName : FqName ): Label <out DbClassorinterface > {
9898 val pkg = if (fqName.isRoot()) " " else fqName.parent().asString()
9999 val jvmName = fqName.shortName().asString()
100100 return extractFileClass(pkg, jvmName)
101101 }
102102
103- fun extractFileClass (pkg : String , jvmName : String ): Label <out DbClassorinterface > {
103+ private fun extractFileClass (pkg : String , jvmName : String ): Label <out DbClassorinterface > {
104104 val qualClassName = if (pkg.isEmpty()) jvmName else " $pkg .$jvmName "
105105 val label = " @\" class;$qualClassName \" "
106106 val id: Label <DbClassorinterface > = tw.getLabelFor(label) {
@@ -799,7 +799,7 @@ open class KotlinUsesExtractor(
799799 }
800800 }
801801
802- fun parentOf (d : IrDeclaration ): IrDeclarationParent {
802+ private fun parentOf (d : IrDeclaration ): IrDeclarationParent {
803803 if (d is IrField ) {
804804 return getFieldParent(d)
805805 }
@@ -1739,7 +1739,7 @@ open class KotlinUsesExtractor(
17391739 it.isConst || it.isLateinit
17401740 } ? : false
17411741
1742- fun getFieldParent (f : IrField ) =
1742+ private fun getFieldParent (f : IrField ) =
17431743 f.parentClassOrNull?.let {
17441744 if (it.isCompanion && isDirectlyExposableCompanionObjectField(f))
17451745 it.parent
0 commit comments