Analysis API: pretty print declarations additionaly to debug rendering in some tests

This commit is contained in:
Ilya Kirillov
2021-11-30 13:16:46 +01:00
parent bad91915a6
commit 6e4c87f138
81 changed files with 918 additions and 23 deletions
@@ -0,0 +1,15 @@
fun noGeneric()
fun withOuterGeneric(t: test.Foo)
fun <TT> withOwnGeneric(tt: TT)
fun <TT> withOuterAndOwnGeneric(t: test.Foo, tt: TT)
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,15 @@
val noGeneric: test.Foo?
val withOuterGeneric: test.Foo?
val <TT> TT.withOwnGeneric: TT?
val <TT> TT.withOuterAndOwnGeneric: test.Foo?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,17 @@
fun noGenerics_InterfaceWithFun()
open fun withOuterGeneric_InterfaceWithFun(): test.SomeClass2
fun noGenerics_InterfaceWithFunBase()
fun withOuterGenericT1_InterfaceWithFunBase(): test.SomeClass1
open fun withOuterGenericT2_InterfaceWithFunBase(): test.SomeClass2
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,27 @@
val noGenerics_InterfaceWithVal: test.SomeClass1
abstract val withOuterGeneric_InterfaceWithVal: test.SomeClass2
val <Own> Own.withOwnGeneric_InterfaceWithVal: test.SomeClass1
abstract val <Own> Own.withOwnAndOuterGeneric_InterfaceWithVal: test.SomeClass2
val noGenerics_InterfaceWithValBase: test.SomeClass1
val withOuterGenericT1_InterfaceWithValBase: test.SomeClass1
abstract val withOuterGenericT2_InterfaceWithValBase: test.SomeClass2
val <Own> Own.withOwnGeneric_InterfaceWithValBase: test.SomeClass1
val <Own> Own.withOwnAndOuterGenericT1_InterfaceWithValBase: test.SomeClass1
abstract val <Own> Own.withOwnAndOuterGenericT2_InterfaceWithValBase: test.SomeClass2
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,11 @@
fun noGenerics()
fun withOuter(): Outer?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,13 @@
fun noGenerics()
fun withOuter(): Outer?
fun withOuterAndOwn(t: test.SomeClass): Outer?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,11 @@
fun noGeneric()
fun withOuter(): Outer?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
inner constructor()
@@ -0,0 +1,13 @@
fun noGeneric()
fun withOuter(): Outer?
fun withOwnAndOuter(t: test.SomeClass): Outer?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
inner constructor()
@@ -0,0 +1,11 @@
fun noGeneric()
fun withOuter(): test.SomeClass?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
inner constructor()
@@ -0,0 +1,11 @@
fun noGeneric()
fun withOuter(): T?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
inner constructor()
@@ -0,0 +1,13 @@
fun noGeneric()
fun withOuter(): test.SomeClass?
fun withOwnAndOuter(t: test.SomeClass): test.SomeClass?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
inner constructor()
@@ -0,0 +1,33 @@
fun size(): kotlin.Int
fun isEmpty(): kotlin.Boolean
operator fun contains(p0: kotlin.Any!): kotlin.Boolean
abstract operator fun iterator(): kotlin.collections.MutableIterator<test.SomeClass!>
fun toArray(): kotlin.Array<(out) kotlin.Any!>!
fun <T : kotlin.Any!> toArray(p0: kotlin.Array<(out) T!>!): kotlin.Array<(out) T!>!
abstract fun add(p0: test.SomeClass!): kotlin.Boolean
fun remove(p0: kotlin.Any!): kotlin.Boolean
fun containsAll(p0: kotlin.collections.(Mutable)Collection<*>!): kotlin.Boolean
abstract fun addAll(p0: kotlin.collections.(Mutable)Collection<out test.SomeClass!>!): kotlin.Boolean
fun removeAll(p0: kotlin.collections.(Mutable)Collection<*>!): kotlin.Boolean
fun retainAll(p0: kotlin.collections.(Mutable)Collection<*>!): kotlin.Boolean
fun clear()
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,11 @@
abstract fun <TT1 : test.Foo, TT2 : test.OtherInterface> funWithOuterAndOwnGenericsAndBounds(tT1: TT1?, tT2: TT2?)
open val <TT1 : test.Foo, TT2 : test.OtherInterface> test.TwoParams<TT1, TT2>.propWithOuterAndOwnGenericsAndBounds: test.Foo?
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()
@@ -0,0 +1,11 @@
val <Own : test.ClassA> Own.withOwnGeneric_InterfaceWithValBase: test.ClassA
abstract val <Own : test.ClassB> Own.withOwnAndOuterGenericAsTypeBound_InterfaceWithValBase: test.ClassA
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
constructor()