6e18b75c73
The method is proved to be used in klint project https://github.com/pinterest/ktlint/blob/c5a81e0d4198fa5cb2cac69967080e01e365b837/ktlint-rule-engine/src/main/kotlin/com/pinterest/ktlint/rule/engine/internal/KotlinPsiFileFactory.kt#L121 There is an issue about the remove: https://github.com/pinterest/ktlint/issues/1981 KTI-1114