KTIJ-26423 [AA] Extend KtImportOptimizer testdata with imports usage information
`KtImportOptimizerResult.unusedImports` should be removed soon, and part of the testdata for the import optimizer service should go to `intellij` repository
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.function
|
||||
By names: [function]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
readText
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
readText
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
prop
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
X
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: kotlin.collections.List
|
||||
By names: [List]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
X
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
C
|
||||
X
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
C
|
||||
X
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
prp
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
println
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
D
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.b
|
||||
By names: [b]
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
Declaration: dependency.fooExt
|
||||
By names: [fooExt]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.b
|
||||
By names: [b]
|
||||
|
||||
Declaration: dependency.fooExtProp
|
||||
By names: [fooExtProp]
|
||||
|
||||
Declaration: kotlin.Any
|
||||
By names: [Any]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.b
|
||||
By names: [b]
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
Declaration: dependency.invoke
|
||||
By names: [invoke]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
WithGeneric
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar.Companion.minutes
|
||||
By names: [minutes]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
SamePackage
|
||||
samePackage
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: kotlin.with
|
||||
By names: [with]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.<destruct>
|
||||
By names: [<destruct>]
|
||||
|
||||
Declaration: <local>.target
|
||||
By names: [target]
|
||||
|
||||
Declaration: dependency.component1
|
||||
By names: [component1]
|
||||
|
||||
Declaration: dependency.component2
|
||||
By names: [component2]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: kotlin.Int
|
||||
By names: [Int]
|
||||
|
||||
Declaration: kotlin.String
|
||||
By names: [String]
|
||||
|
||||
Declaration: kotlin.with
|
||||
By names: [with]
|
||||
|
||||
Declaration: test.Base
|
||||
By names: [Base]
|
||||
|
||||
Declaration: test.Foo
|
||||
By names: [Foo]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: test.MyClass
|
||||
By names: [MyClass]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.<destruct>
|
||||
By names: [<destruct>]
|
||||
|
||||
Declaration: dependency.foo
|
||||
By names: [foo]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.bar
|
||||
By names: [bar]
|
||||
|
||||
Declaration: kotlin.with
|
||||
By names: [with]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: test.SamePackage
|
||||
By names: [SamePackage]
|
||||
|
||||
Declaration: test.samePackage
|
||||
By names: [samePackage]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.foo
|
||||
By names: [foo]
|
||||
|
||||
Declaration: kotlin.Int
|
||||
By names: [Int]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.MyObject.invoke
|
||||
By names: [invoke]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: KotlinChild
|
||||
By names: [KotlinChild]
|
||||
|
||||
Declaration: dependency.Base
|
||||
By names: [Base]
|
||||
|
||||
Declaration: dependency.Child
|
||||
By names: [Child]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.MyException
|
||||
By names: [MyException]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.<destruct>
|
||||
By names: [<destruct>]
|
||||
|
||||
Declaration: <local>.holder
|
||||
By names: [holder]
|
||||
|
||||
Declaration: dependency.Holder
|
||||
By names: [Holder]
|
||||
|
||||
Declaration: dependency.MyClass
|
||||
By names: [MyClass]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: test.SamePackage
|
||||
By names: [Aliased, SamePackage]
|
||||
|
||||
Declaration: test.samePackage
|
||||
By names: [aliased, samePackage]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.foo
|
||||
By names: [aliasedFoo]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: test.SamePackage
|
||||
By names: [Aliased]
|
||||
|
||||
Declaration: test.samePackage
|
||||
By names: [aliased]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [BarAlias]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar.extFun
|
||||
By names: [extFun]
|
||||
|
||||
Declaration: kotlin.with
|
||||
By names: [with]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.<destruct>
|
||||
By names: [<destruct>]
|
||||
|
||||
Declaration: <local>.target
|
||||
By names: [target]
|
||||
|
||||
Declaration: dependency.component1
|
||||
By names: [component1]
|
||||
|
||||
Declaration: dependency.component2
|
||||
By names: [component2]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
Declaration: dependency.extCallable
|
||||
By names: [extCallable]
|
||||
|
||||
Declaration: dependency.extFun
|
||||
By names: [extFun]
|
||||
|
||||
Declaration: dependency.extVal
|
||||
By names: [extVal]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.foo
|
||||
By names: [foo]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: kotlin.Int
|
||||
By names: [Int]
|
||||
|
||||
Declaration: kotlin.String
|
||||
By names: [String]
|
||||
|
||||
Declaration: test.Base
|
||||
By names: [Base]
|
||||
|
||||
Declaration: test.Foo.callableReference
|
||||
By names: [callableReference]
|
||||
|
||||
Declaration: test.Foo.extFuncFromBase
|
||||
By names: [extFuncFromBase]
|
||||
|
||||
Declaration: test.Foo.extPropFromBase
|
||||
By names: [extPropFromBase]
|
||||
|
||||
Declaration: test.Foo.funcFromBase
|
||||
By names: [funcFromBase]
|
||||
|
||||
Declaration: test.Foo.invoke
|
||||
By names: [invoke]
|
||||
|
||||
Declaration: test.Foo.propFromBase
|
||||
By names: [propFromBase]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
Declaration: test.MyClass
|
||||
By names: [MyClass]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar.callable
|
||||
By names: [callable]
|
||||
|
||||
Declaration: dependency.Bar.function
|
||||
By names: [function]
|
||||
|
||||
Declaration: dependency.Bar.property
|
||||
By names: [property]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.m
|
||||
By names: [m]
|
||||
|
||||
Declaration: <local>.str
|
||||
By names: [str]
|
||||
|
||||
Declaration: dependency.invoke
|
||||
By names: [str]
|
||||
|
||||
Declaration: kotlin.String
|
||||
By names: [String]
|
||||
|
||||
Declaration: test.My
|
||||
By names: [My]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.m
|
||||
By names: [m]
|
||||
|
||||
Declaration: <local>.str
|
||||
By names: [str]
|
||||
|
||||
Declaration: dependency.invoke
|
||||
By names: [invoke]
|
||||
|
||||
Declaration: kotlin.String
|
||||
By names: [String]
|
||||
|
||||
Declaration: test.My
|
||||
By names: [My]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: <local>.foo
|
||||
By names: [foo]
|
||||
|
||||
Declaration: dependency.invoke
|
||||
By names: [invoke]
|
||||
|
||||
Declaration: kotlin.Int
|
||||
By names: [Int]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.MyObject
|
||||
By names: [MyObject]
|
||||
|
||||
Declaration: dependency.MyObject.invoke
|
||||
By names: [invoke]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: KotlinChild.nonStaticFieldFromBase
|
||||
By names: [nonStaticFieldFromBase]
|
||||
|
||||
Declaration: dependency.Base
|
||||
By names: [Base]
|
||||
|
||||
Declaration: dependency.Child.STATIC_CONSTANT_FROM_BASE
|
||||
By names: [STATIC_CONSTANT_FROM_BASE]
|
||||
|
||||
Declaration: dependency.Child.staticFunFromBase
|
||||
By names: [staticFunFromBase]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
Declaration: test.WithGeneric
|
||||
By names: [WithGeneric]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
USED DECLARATIONS:
|
||||
|
||||
Declaration: dependency.Bar
|
||||
By names: [Bar]
|
||||
|
||||
Declaration: kotlin.Array
|
||||
By names: [Bar]
|
||||
|
||||
UNRESOLVED NAMES:
|
||||
Reference in New Issue
Block a user