[FIR] Get rid of FirSymbolProvider.getAllCallableNamesInPackage

#KT-41048
This commit is contained in:
Dmitriy Novozhilov
2020-08-13 12:39:10 +03:00
parent f32a0fe7ad
commit b31f80aee3
7 changed files with 2 additions and 33 deletions
@@ -408,12 +408,6 @@ class KotlinDeserializedJvmSymbolsProvider(
}
}
override fun getAllCallableNamesInPackage(fqName: FqName): Set<Name> {
return getPackageParts(fqName).flatMapTo(mutableSetOf()) { packagePart ->
packagePart.proto.functionList.map { packagePart.context.nameResolver.getName(it.name) }
}
}
override fun getClassNamesInPackage(fqName: FqName): Set<Name> =
javaClassFinder.findPackage(fqName)
?.getClasses { true }.orEmpty()