diff --git a/analysis/project-structure/src/org/jetbrains/kotlin/analysis/project/structure/KotlinModuleDependentsProvider.kt b/analysis/project-structure/src/org/jetbrains/kotlin/analysis/project/structure/KotlinModuleDependentsProvider.kt index b3f44717463..abdc934127d 100644 --- a/analysis/project-structure/src/org/jetbrains/kotlin/analysis/project/structure/KotlinModuleDependentsProvider.kt +++ b/analysis/project-structure/src/org/jetbrains/kotlin/analysis/project/structure/KotlinModuleDependentsProvider.kt @@ -32,6 +32,12 @@ public abstract class KotlinModuleDependentsProvider { */ public abstract fun getTransitiveDependents(module: KtModule): Set + /** + * Returns all refinement/depends-on dependents of [module], excluding [module] itself. The result is transitive because refinement + * dependencies are implicitly transitive. + */ + public abstract fun getRefinementDependents(module: KtModule): Set + public companion object { public fun getInstance(project: Project): KotlinModuleDependentsProvider = project.getService(KotlinModuleDependentsProvider::class.java)