[FIR IDE] Add a little KDoc to KtImportOptimizerMixIn::analyzeImports

This commit is contained in:
Roman Golyshev
2021-08-31 17:24:33 +03:00
committed by Space
parent 03f29de5ef
commit 52e012712d
@@ -14,6 +14,13 @@ public abstract class KtImportOptimizer : ValidityTokenOwner {
}
public interface KtImportOptimizerMixIn : KtAnalysisSessionMixIn {
/**
* Takes [file] and inspects its imports and their usages,
* so they can be optimized based on the resulting [KtImportOptimizerResult].
*
* Does **not** change the file.
*/
public fun analyseImports(file: KtFile): KtImportOptimizerResult {
return analysisSession.importOptimizer.analyseImports(file)
}