KT-64205 [AA] Add shortening with default settings to the testData

This commit is contained in:
Roman Golyshev
2023-12-13 19:30:57 +02:00
committed by teamcity
parent 146d93a044
commit d5896f20f0
174 changed files with 336 additions and 23 deletions
@@ -20,7 +20,10 @@ abstract class AbstractReferenceShortenerForWholeFileTest : AbstractAnalysisApiB
val shortenings = executeOnPooledThreadInReadAction { val shortenings = executeOnPooledThreadInReadAction {
analyseForTest(file) { analyseForTest(file) {
ShortenStrategy.entries.associateWith { option -> buildMap {
this += "default settings" to collectPossibleReferenceShortenings(file, file.textRange)
this += ShortenStrategy.entries.associateWith { option ->
val shorteningsForOption = collectPossibleReferenceShortenings( val shorteningsForOption = collectPossibleReferenceShortenings(
file, file,
file.textRange, file.textRange,
@@ -32,6 +35,7 @@ abstract class AbstractReferenceShortenerForWholeFileTest : AbstractAnalysisApiB
} }
} }
} }
}
val actual = buildString { val actual = buildString {
shortenings.forEach { (name, shortening) -> shortenings.forEach { (name, shortening) ->
@@ -29,7 +29,10 @@ abstract class AbstractReferenceShortenerTest : AbstractAnalysisApiBasedSingleMo
val shortenings = executeOnPooledThreadInReadAction { val shortenings = executeOnPooledThreadInReadAction {
analyseForTest(element) { analyseForTest(element) {
ShortenStrategy.entries.associateWith { option -> buildMap {
this += "default settings" to collectPossibleReferenceShorteningsInElement(element)
this += ShortenStrategy.entries.associate { option ->
val shorteningsForOption = collectPossibleReferenceShorteningsInElement( val shorteningsForOption = collectPossibleReferenceShorteningsInElement(
element, element,
shortenOptions = ShortenOptions.ALL_ENABLED, shortenOptions = ShortenOptions.ALL_ENABLED,
@@ -37,7 +40,8 @@ abstract class AbstractReferenceShortenerTest : AbstractAnalysisApiBasedSingleMo
callableShortenStrategy = { option } callableShortenStrategy = { option }
) )
shorteningsForOption option.toString() to shorteningsForOption
}
} }
} }
} }
@@ -1,4 +1,6 @@
Before shortening: some.SomeAnnotation Before shortening: some.SomeAnnotation
with default settings:
[type] some.SomeAnnotation
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] some.SomeAnnotation [type] some.SomeAnnotation
@@ -1,4 +1,6 @@
Before shortening: @dependency.Ann Before shortening: @dependency.Ann
with default settings:
[type] dependency.Ann
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: dependency.Type Before shortening: dependency.Type
with default settings:
[type] dependency.Type
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: dependency.Type Before shortening: dependency.Type
with default settings:
[type] dependency.Type
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: one.A Before shortening: one.A
with default settings:
[qualifier] one.A
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] one.A [qualifier] one.A
@@ -1,4 +1,6 @@
Before shortening: kotlin.text.charset("") Before shortening: kotlin.text.charset("")
with default settings:
[qualifier] kotlin.text.charset("")
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] kotlin.text.charset("") [qualifier] kotlin.text.charset("")
@@ -1,4 +1,5 @@
Before shortening: kotlin.text.charset("") Before shortening: kotlin.text.charset("")
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: dependency.foo() Before shortening: dependency.foo()
with default settings:
[qualifier] dependency.foo()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: my.simple.name.SuperClass.check() Before shortening: my.simple.name.SuperClass.check()
with default settings:
[qualifier] my.simple.name.SuperClass
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] my.simple.name.SuperClass [qualifier] my.simple.name.SuperClass
@@ -1,4 +1,6 @@
Before shortening: Child.Foo.check() Before shortening: Child.Foo.check()
with default settings:
[qualifier] Child.Foo.check()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] Child.Foo.check() [qualifier] Child.Foo.check()
@@ -1,4 +1,6 @@
Before shortening: my.simple.name.ClassFarAway.check() Before shortening: my.simple.name.ClassFarAway.check()
with default settings:
[qualifier] my.simple.name.ClassFarAway
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] my.simple.name.ClassFarAway [qualifier] my.simple.name.ClassFarAway
@@ -1,4 +1,6 @@
Before shortening: a.b.c.Outer.Inner::class.java Before shortening: a.b.c.Outer.Inner::class.java
with default settings:
[qualifier] a.b.c.Outer
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] a.b.c.Outer [qualifier] a.b.c.Outer
@@ -1,4 +1,6 @@
Before shortening: a.b.c.Outer.Middle.Inner::class.java Before shortening: a.b.c.Outer.Middle.Inner::class.java
with default settings:
[qualifier] a.b.c.Outer.Middle.Inner
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] a.b.c.Outer.Middle.Inner [qualifier] a.b.c.Outer.Middle.Inner
@@ -1,4 +1,6 @@
Before shortening: java.util.SortedSet Before shortening: java.util.SortedSet
with default settings:
[type] java.util.SortedSet
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: a.b.c.Outer.Inner::class.java Before shortening: a.b.c.Outer.Inner::class.java
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: java.util.SortedSet Before shortening: java.util.SortedSet
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: java.util.SortedSet Before shortening: java.util.SortedSet
with default settings:
[qualifier] java.util.SortedSet
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: a.b.c.Outer.Inner::class.java Before shortening: a.b.c.Outer.Inner::class.java
with default settings:
[qualifier] a.b.c.Outer.Inner
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] a.b.c.Outer.Inner [qualifier] a.b.c.Outer.Inner
@@ -1,4 +1,6 @@
Before shortening: a.b.c.Outer.Inner::class.java Before shortening: a.b.c.Outer.Inner::class.java
with default settings:
[qualifier] a.b.c.Outer.Inner
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] a.b.c.Outer.Inner [qualifier] a.b.c.Outer.Inner
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check [qualifier] foo.www.ddd.Check
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check [qualifier] foo.www.ddd.Check
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check [qualifier] foo.www.ddd.Check
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check [qualifier] foo.www.ddd.Check
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check.BBD
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check.BBD [qualifier] foo.www.ddd.Check.BBD
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check.BBD.Bwd
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check.BBD.Bwd [qualifier] foo.www.ddd.Check.BBD.Bwd
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check.BBD
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check.BBD [qualifier] foo.www.ddd.Check.BBD
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Bwd::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check.BBD
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check.BBD [qualifier] foo.www.ddd.Check.BBD
@@ -1,4 +1,6 @@
Before shortening: foo.www.ddd.Check.BBD.Companion::class.java.annotatedInterfaces.size Before shortening: foo.www.ddd.Check.BBD.Companion::class.java.annotatedInterfaces.size
with default settings:
[qualifier] foo.www.ddd.Check.BBD.Companion
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] foo.www.ddd.Check.BBD.Companion [qualifier] foo.www.ddd.Check.BBD.Companion
@@ -1,4 +1,6 @@
Before shortening: a.b.c.Outer.Inner.Companion.foo(1, false, "bar") Before shortening: a.b.c.Outer.Inner.Companion.foo(1, false, "bar")
with default settings:
[qualifier] a.b.c.Outer
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] a.b.c.Outer [qualifier] a.b.c.Outer
@@ -1,4 +1,6 @@
Before shortening: a.b.c.MyClass.Companion.foo() Before shortening: a.b.c.MyClass.Companion.foo()
with default settings:
[qualifier] a.b.c.MyClass.Companion.foo()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] a.b.c.MyClass [qualifier] a.b.c.MyClass
@@ -1,4 +1,6 @@
Before shortening: dependency.Foo() Before shortening: dependency.Foo()
with default settings:
[qualifier] dependency.Foo()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: a.b.c.foo() Before shortening: a.b.c.foo()
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: a.b.c.MyEnum.Companion.foo() Before shortening: a.b.c.MyEnum.Companion.foo()
with default settings:
[qualifier] a.b.c.MyEnum.Companion.foo()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] a.b.c.MyEnum.Companion.foo() [qualifier] a.b.c.MyEnum.Companion.foo()
@@ -1,4 +1,6 @@
Before shortening: C.K Before shortening: C.K
with default settings:
[qualifier] C.K
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: C.foo() Before shortening: C.foo()
with default settings:
[qualifier] C.foo()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: str.extFun() Before shortening: str.extFun()
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: Bar.extFun() Before shortening: Bar.extFun()
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: Bar.extProperty Before shortening: Bar.extProperty
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: dependency.Foo Before shortening: dependency.Foo
with default settings:
[type] dependency.Foo
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: com.dependency.bar Before shortening: com.dependency.bar
with default settings:
[qualifier] com.dependency.bar -> bar1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] com.dependency.bar -> bar1 [qualifier] com.dependency.bar -> bar1
@@ -1,4 +1,6 @@
Before shortening: com.dependency.bar() Before shortening: com.dependency.bar()
with default settings:
[qualifier] com.dependency.bar() -> bar1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] com.dependency.bar() -> bar1 [qualifier] com.dependency.bar() -> bar1
@@ -1,4 +1,6 @@
Before shortening: com.dependency.bar Before shortening: com.dependency.bar
with default settings:
[qualifier] com.dependency.bar -> bar1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] com.dependency.bar -> bar1 [qualifier] com.dependency.bar -> bar1
@@ -1,4 +1,6 @@
Before shortening: com.dependency.Bar Before shortening: com.dependency.Bar
with default settings:
[type] com.dependency.Bar -> Bar1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] com.dependency.Bar -> Bar1 [type] com.dependency.Bar -> Bar1
@@ -1,4 +1,6 @@
Before shortening: com.dependency.Bar.bar() Before shortening: com.dependency.Bar.bar()
with default settings:
[qualifier] com.dependency.Bar -> Bar1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] com.dependency.Bar -> Bar1 [qualifier] com.dependency.Bar -> Bar1
@@ -1,4 +1,6 @@
Before shortening: a.b.c.dependency.Foo Before shortening: a.b.c.dependency.Foo
with default settings:
[kdoc] a.b.c.dependency.Foo
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[kdoc] a.b.c.dependency.Foo [kdoc] a.b.c.dependency.Foo
@@ -1,4 +1,6 @@
Before shortening: dependency.Foo Before shortening: dependency.Foo
with default settings:
[kdoc] dependency.Foo
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[kdoc] dependency.Foo [kdoc] dependency.Foo
@@ -1,4 +1,6 @@
Before shortening: _root_ide_package_.dependency.Foo Before shortening: _root_ide_package_.dependency.Foo
with default settings:
[kdoc] _root_ide_package_.dependency.Foo
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
[kdoc] _root_ide_package_.dependency [kdoc] _root_ide_package_.dependency
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
@@ -1,4 +1,6 @@
Before shortening: dependency.Foo.unresolved Before shortening: dependency.Foo.unresolved
with default settings:
[kdoc] dependency.Foo
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[kdoc] dependency.Foo [kdoc] dependency.Foo
@@ -1,4 +1,5 @@
Before shortening: MyClass.prop Before shortening: MyClass.prop
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,7 @@
Before shortening: x.y.z.Outer.Inner.VALUE0 > x.y.z.Outer.Inner.VALUE1 Before shortening: x.y.z.Outer.Inner.VALUE0 > x.y.z.Outer.Inner.VALUE1
with default settings:
[qualifier] x.y.z.Outer.Inner.VALUE0
[qualifier] x.y.z.Outer.Inner.VALUE1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -4,6 +4,8 @@ Before shortening: when (a) {
3 -> bar3 3 -> bar3
else -> com.dependency.bar else -> com.dependency.bar
} }
with default settings:
[qualifier] com.dependency.bar -> bar1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] com.dependency.bar -> bar1 [qualifier] com.dependency.bar -> bar1
@@ -4,6 +4,9 @@ Before shortening: when (a) {
3 -> bar3 3 -> bar3
else -> com.dependency.bar else -> com.dependency.bar
} }
with default settings:
[qualifier] com.dependency.bar -> bar1
[qualifier] com.dependency.bar -> bar1
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] com.dependency.bar -> bar1 [qualifier] com.dependency.bar -> bar1
@@ -1,4 +1,5 @@
Before shortening: Inner.foo(1, false, "bar") Before shortening: Inner.foo(1, false, "bar")
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: a.b.c.foo(1, false, "bar") Before shortening: a.b.c.foo(1, false, "bar")
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: Inner.Companion.foo(1, false, "bar") Before shortening: Inner.Companion.foo(1, false, "bar")
with default settings:
[qualifier] Inner.Companion
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] Inner.Companion [qualifier] Inner.Companion
@@ -1,4 +1,5 @@
Before shortening: Outer<T>.Inner Before shortening: Outer<T>.Inner
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: Outer.Nested Before shortening: Outer.Nested
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -2,6 +2,9 @@ Before shortening: fun usage(
first: test.OuterClass.Nested, first: test.OuterClass.Nested,
second: test.OuterClass.NestedObject.Nested, second: test.OuterClass.NestedObject.Nested,
) {} ) {}
with default settings:
[type] test.OuterClass
[type] test.OuterClass.NestedObject.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] test.OuterClass [type] test.OuterClass
@@ -2,6 +2,9 @@ Before shortening: fun usage(
first: test.OuterClass.Nested, first: test.OuterClass.Nested,
second: test.OuterClass.Companion.Nested, second: test.OuterClass.Companion.Nested,
) {} ) {}
with default settings:
[type] test.OuterClass
[type] test.OuterClass.Companion.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] test.OuterClass [type] test.OuterClass
@@ -2,6 +2,9 @@ Before shortening: fun usage(
first: test.OuterClass.Nested, first: test.OuterClass.Nested,
second: test.OuterClass.NamedCompanion.Nested, second: test.OuterClass.NamedCompanion.Nested,
) {} ) {}
with default settings:
[type] test.OuterClass
[type] test.OuterClass.NamedCompanion.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] test.OuterClass [type] test.OuterClass
@@ -2,6 +2,9 @@ Before shortening: fun usage(
first: test.OuterClass.Nested, first: test.OuterClass.Nested,
second: test.OuterClass.NestedObject.Nested, second: test.OuterClass.NestedObject.Nested,
) {} ) {}
with default settings:
[type] test.OuterClass.Nested
[type] test.OuterClass.NestedObject
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] test.OuterClass.Nested [type] test.OuterClass.Nested
@@ -2,6 +2,9 @@ Before shortening: fun usage(
first: test.OuterClass.Nested, first: test.OuterClass.Nested,
second: test.OuterClass.Companion.Nested, second: test.OuterClass.Companion.Nested,
) {} ) {}
with default settings:
[type] test.OuterClass.Nested
[type] test.OuterClass.Companion
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] test.OuterClass.Nested [type] test.OuterClass.Nested
@@ -2,6 +2,9 @@ Before shortening: fun usage(
first: test.OuterClass.Nested, first: test.OuterClass.Nested,
second: test.OuterClass.NamedCompanion.Nested, second: test.OuterClass.NamedCompanion.Nested,
) {} ) {}
with default settings:
[type] test.OuterClass.Nested
[type] test.OuterClass.NamedCompanion
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] test.OuterClass.Nested [type] test.OuterClass.Nested
@@ -1,4 +1,5 @@
Before shortening: @Outer.Ann Before shortening: @Outer.Ann
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: @Outer.Ann Before shortening: @Outer.Ann
with default settings:
[type] Outer.Ann
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Ann [type] Outer.Ann
@@ -1,4 +1,6 @@
Before shortening: @Outer.Ann Before shortening: @Outer.Ann
with default settings:
[type] Outer.Ann
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Ann [type] Outer.Ann
@@ -1,4 +1,6 @@
Before shortening: @Outer.Ann Before shortening: @Outer.Ann
with default settings:
[type] Outer.Ann
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Ann [type] Outer.Ann
@@ -1,4 +1,6 @@
Before shortening: @Outer.Ann Before shortening: @Outer.Ann
with default settings:
[type] Outer.Ann
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Ann [type] Outer.Ann
@@ -1,4 +1,6 @@
Before shortening: @Outer.Ann Before shortening: @Outer.Ann
with default settings:
[type] Outer.Ann
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Ann [type] Outer.Ann
@@ -12,6 +12,7 @@ Before shortening: class Foo(
test.bigProperty() test.bigProperty()
} }
} }
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -10,6 +10,11 @@ Before shortening: class Foo(bigProperty: String) {
return test.bigProperty return test.bigProperty
} }
} }
with default settings:
[qualifier] test.bigProperty
[qualifier] test.bigProperty
[qualifier] test.bigProperty
[qualifier] test.bigProperty
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] test.bigProperty [qualifier] test.bigProperty
@@ -1,4 +1,5 @@
Before shortening: Outer.Nested Before shortening: Outer.Nested
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: Outer.Nested Before shortening: Outer.Nested
with default settings:
[type] Outer.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested [type] Outer.Nested
@@ -1,4 +1,7 @@
Before shortening: val param: Outer.Nested = Outer.Nested() Before shortening: val param: Outer.Nested = Outer.Nested()
with default settings:
[type] Outer.Nested
[qualifier] Outer.Nested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested [type] Outer.Nested
@@ -1,4 +1,7 @@
Before shortening: val param: Outer.Nested = Outer.Nested() Before shortening: val param: Outer.Nested = Outer.Nested()
with default settings:
[type] Outer.Nested
[qualifier] Outer.Nested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested [type] Outer.Nested
@@ -1,4 +1,5 @@
Before shortening: class Foo : Outer.Nested { constructor(): super() } Before shortening: class Foo : Outer.Nested { constructor(): super() }
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: class Foo : Outer.Nested() Before shortening: class Foo : Outer.Nested()
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: Outer.OtherNested() Before shortening: Outer.OtherNested()
with default settings:
[qualifier] Outer.OtherNested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] Outer.OtherNested() [qualifier] Outer.OtherNested()
@@ -1,4 +1,6 @@
Before shortening: Outer.OtherNested() Before shortening: Outer.OtherNested()
with default settings:
[qualifier] Outer.OtherNested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] Outer.OtherNested() [qualifier] Outer.OtherNested()
@@ -1,4 +1,6 @@
Before shortening: Outer.OtherNested() Before shortening: Outer.OtherNested()
with default settings:
[qualifier] Outer.OtherNested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] Outer.OtherNested() [qualifier] Outer.OtherNested()
@@ -1,4 +1,6 @@
Before shortening: Outer.OtherNested() Before shortening: Outer.OtherNested()
with default settings:
[qualifier] Outer.OtherNested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] Outer.OtherNested() [qualifier] Outer.OtherNested()
@@ -1,4 +1,6 @@
Before shortening: class Foo : Outer.Nested() Before shortening: class Foo : Outer.Nested()
with default settings:
[type] Outer.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested [type] Outer.Nested
@@ -1,4 +1,6 @@
Before shortening: val foo = object : Outer.Nested() {} Before shortening: val foo = object : Outer.Nested() {}
with default settings:
[type] Outer.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested [type] Outer.Nested
@@ -1,4 +1,5 @@
Before shortening: val foo = object : Outer.Nested() {} Before shortening: val foo = object : Outer.Nested() {}
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: Outer.Marker by Outer.MarkerImpl() Before shortening: Outer.Marker by Outer.MarkerImpl()
with default settings:
[qualifier] Outer.MarkerImpl()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[qualifier] Outer.MarkerImpl() [qualifier] Outer.MarkerImpl()
@@ -1,4 +1,7 @@
Before shortening: Outer.Marker by Outer.MarkerImpl() Before shortening: Outer.Marker by Outer.MarkerImpl()
with default settings:
[type] Outer.Marker
[qualifier] Outer.MarkerImpl()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Marker [type] Outer.Marker
@@ -1,4 +1,5 @@
Before shortening: Outer.Nested<Outer.OtherNested> Before shortening: Outer.Nested<Outer.OtherNested>
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,7 @@
Before shortening: Outer.Nested<Outer.OtherNested> Before shortening: Outer.Nested<Outer.OtherNested>
with default settings:
[type] Outer.Nested<Outer.OtherNested>
[type] Outer.OtherNested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested<Outer.OtherNested> [type] Outer.Nested<Outer.OtherNested>
@@ -1,4 +1,6 @@
Before shortening: class Foo : Outer.Nested { constructor(): super() } Before shortening: class Foo : Outer.Nested { constructor(): super() }
with default settings:
[type] Outer.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested [type] Outer.Nested
@@ -1,4 +1,5 @@
Before shortening: Outer.Nested Before shortening: Outer.Nested
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,6 @@
Before shortening: Outer.Nested Before shortening: Outer.Nested
with default settings:
[type] Outer.Nested
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] Outer.Nested [type] Outer.Nested
@@ -1,4 +1,5 @@
Before shortening: Outer.Nested Before shortening: Outer.Nested
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: val prop: MyInterface.Nested = MyInterface.Nested() Before shortening: val prop: MyInterface.Nested = MyInterface.Nested()
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,5 @@
Before shortening: val prop: JavaInterface.Nested = JavaInterface.Nested() Before shortening: val prop: JavaInterface.Nested = JavaInterface.Nested()
with default settings:
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT: with SHORTEN_AND_IMPORT:
@@ -1,4 +1,7 @@
Before shortening: val prop: MyInterface.Nested = MyInterface.Nested() Before shortening: val prop: MyInterface.Nested = MyInterface.Nested()
with default settings:
[type] MyInterface.Nested
[qualifier] MyInterface.Nested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] MyInterface.Nested [type] MyInterface.Nested
@@ -1,4 +1,7 @@
Before shortening: val prop: JavaInterface.Nested = JavaInterface.Nested() Before shortening: val prop: JavaInterface.Nested = JavaInterface.Nested()
with default settings:
[type] JavaInterface.Nested
[qualifier] JavaInterface.Nested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] JavaInterface.Nested [type] JavaInterface.Nested
@@ -1,4 +1,7 @@
Before shortening: val prop: MyBaseClass.Nested = MyBaseClass.Nested() Before shortening: val prop: MyBaseClass.Nested = MyBaseClass.Nested()
with default settings:
[type] MyBaseClass.Nested
[qualifier] MyBaseClass.Nested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] MyBaseClass.Nested [type] MyBaseClass.Nested
@@ -1,4 +1,7 @@
Before shortening: val prop: JavaBaseClass.Nested = JavaBaseClass.Nested() Before shortening: val prop: JavaBaseClass.Nested = JavaBaseClass.Nested()
with default settings:
[type] JavaBaseClass.Nested
[qualifier] JavaBaseClass.Nested()
with DO_NOT_SHORTEN: with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED: with SHORTEN_IF_ALREADY_IMPORTED:
[type] JavaBaseClass.Nested [type] JavaBaseClass.Nested

Some files were not shown because too many files have changed in this diff Show More