Fix binary compatibility problems in ImportInsertHelper & ShortenReferences
This commit is contained in:
@@ -29,6 +29,18 @@ abstract class ImportInsertHelper {
|
||||
forceAllUnderImport: Boolean = false
|
||||
): ImportDescriptorResult
|
||||
|
||||
fun importDescriptor(
|
||||
file: KtFile,
|
||||
descriptor: DeclarationDescriptor,
|
||||
forceAllUnderImport: Boolean = false
|
||||
): ImportDescriptorResult = importDescriptor(
|
||||
file,
|
||||
descriptor,
|
||||
ActionRunningMode.RUN_IN_CURRENT_THREAD,
|
||||
forceAllUnderImport
|
||||
)
|
||||
|
||||
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun getInstance(project: Project): ImportInsertHelper =
|
||||
|
||||
Reference in New Issue
Block a user