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,133 @@
infix fun and(other: kotlin.Int): kotlin.Int
operator fun compareTo(other: kotlin.Byte): kotlin.Int
operator fun compareTo(other: kotlin.Double): kotlin.Int
operator fun compareTo(other: kotlin.Float): kotlin.Int
open operator fun compareTo(other: kotlin.Int): kotlin.Int
operator fun compareTo(other: kotlin.Long): kotlin.Int
operator fun compareTo(other: kotlin.Short): kotlin.Int
operator fun dec(): kotlin.Int
operator fun div(other: kotlin.Byte): kotlin.Int
operator fun div(other: kotlin.Double): kotlin.Double
operator fun div(other: kotlin.Float): kotlin.Float
operator fun div(other: kotlin.Int): kotlin.Int
operator fun div(other: kotlin.Long): kotlin.Long
operator fun div(other: kotlin.Short): kotlin.Int
operator fun inc(): kotlin.Int
fun inv(): kotlin.Int
operator fun minus(other: kotlin.Byte): kotlin.Int
operator fun minus(other: kotlin.Double): kotlin.Double
operator fun minus(other: kotlin.Float): kotlin.Float
operator fun minus(other: kotlin.Int): kotlin.Int
operator fun minus(other: kotlin.Long): kotlin.Long
operator fun minus(other: kotlin.Short): kotlin.Int
infix fun or(other: kotlin.Int): kotlin.Int
operator fun plus(other: kotlin.Byte): kotlin.Int
operator fun plus(other: kotlin.Double): kotlin.Double
operator fun plus(other: kotlin.Float): kotlin.Float
operator fun plus(other: kotlin.Int): kotlin.Int
operator fun plus(other: kotlin.Long): kotlin.Long
operator fun plus(other: kotlin.Short): kotlin.Int
operator fun rangeTo(other: kotlin.Byte): kotlin.ranges.IntRange
operator fun rangeTo(other: kotlin.Int): kotlin.ranges.IntRange
operator fun rangeTo(other: kotlin.Long): kotlin.ranges.LongRange
operator fun rangeTo(other: kotlin.Short): kotlin.ranges.IntRange
@kotlin.SinceKotlin(version = "1.1")
operator fun rem(other: kotlin.Byte): kotlin.Int
@kotlin.SinceKotlin(version = "1.1")
operator fun rem(other: kotlin.Double): kotlin.Double
@kotlin.SinceKotlin(version = "1.1")
operator fun rem(other: kotlin.Float): kotlin.Float
@kotlin.SinceKotlin(version = "1.1")
operator fun rem(other: kotlin.Int): kotlin.Int
@kotlin.SinceKotlin(version = "1.1")
operator fun rem(other: kotlin.Long): kotlin.Long
@kotlin.SinceKotlin(version = "1.1")
operator fun rem(other: kotlin.Short): kotlin.Int
infix fun shl(bitCount: kotlin.Int): kotlin.Int
infix fun shr(bitCount: kotlin.Int): kotlin.Int
operator fun times(other: kotlin.Byte): kotlin.Int
operator fun times(other: kotlin.Double): kotlin.Double
operator fun times(other: kotlin.Float): kotlin.Float
operator fun times(other: kotlin.Int): kotlin.Int
operator fun times(other: kotlin.Long): kotlin.Long
operator fun times(other: kotlin.Short): kotlin.Int
open fun toByte(): kotlin.Byte
open fun toChar(): kotlin.Char
open fun toDouble(): kotlin.Double
open fun toFloat(): kotlin.Float
open fun toInt(): kotlin.Int
open fun toLong(): kotlin.Long
open fun toShort(): kotlin.Short
operator fun unaryMinus(): kotlin.Int
operator fun unaryPlus(): kotlin.Int
infix fun ushr(bitCount: kotlin.Int): kotlin.Int
infix fun xor(other: kotlin.Int): kotlin.Int
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
companion object
constructor(p0: kotlin.Int)
private constructor()
@@ -0,0 +1,47 @@
fun add(element: E): kotlin.Boolean
fun add(index: kotlin.Int, element: E)
fun addAll(index: kotlin.Int, elements: kotlin.collections.Collection<E>): kotlin.Boolean
fun addAll(elements: kotlin.collections.Collection<E>): kotlin.Boolean
fun clear()
fun listIterator(): kotlin.collections.MutableListIterator<E>
fun listIterator(index: kotlin.Int): kotlin.collections.MutableListIterator<E>
fun remove(element: E): kotlin.Boolean
fun removeAll(elements: kotlin.collections.Collection<E>): kotlin.Boolean
fun removeAt(index: kotlin.Int): E
fun retainAll(elements: kotlin.collections.Collection<E>): kotlin.Boolean
operator fun set(index: kotlin.Int, element: E): E
fun subList(fromIndex: kotlin.Int, toIndex: kotlin.Int): kotlin.collections.MutableList<E>
operator fun contains(element: E): kotlin.Boolean
fun containsAll(elements: kotlin.collections.Collection<E>): kotlin.Boolean
operator fun get(index: kotlin.Int): E
fun indexOf(element: E): kotlin.Int
fun isEmpty(): kotlin.Boolean
operator fun iterator(): kotlin.collections.MutableIterator<E>
fun lastIndexOf(element: E): kotlin.Int
val size: kotlin.Int
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
@@ -0,0 +1,157 @@
private val value: kotlin.CharArray!
private open var hash: kotlin.Int
public/*package*/ open fun hash32(): kotlin.Int
private open var hash32: kotlin.Int
open val length: kotlin.Int
open fun isEmpty(): kotlin.Boolean
open fun codePointAt(p0: kotlin.Int): kotlin.Int
open fun codePointBefore(p0: kotlin.Int): kotlin.Int
open fun codePointCount(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int
open fun offsetByCodePoints(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int
public/*package*/ open fun getChars(p0: kotlin.CharArray!, p1: kotlin.Int)
open fun getChars(p0: kotlin.Int, p1: kotlin.Int, p2: kotlin.CharArray!, p3: kotlin.Int)
@kotlin.Deprecated(message = "Deprecated in Java")
open fun getBytes(p0: kotlin.Int, p1: kotlin.Int, p2: kotlin.ByteArray!, p3: kotlin.Int)
open fun getBytes(p0: kotlin.String!): kotlin.ByteArray!
open fun getBytes(p0: java.nio.charset.Charset!): kotlin.ByteArray!
open fun getBytes(): kotlin.ByteArray!
open operator fun equals(p0: kotlin.Any?): kotlin.Boolean
open fun contentEquals(p0: java.lang.StringBuffer!): kotlin.Boolean
open fun contentEquals(p0: kotlin.CharSequence!): kotlin.Boolean
open fun equalsIgnoreCase(p0: kotlin.String!): kotlin.Boolean
open operator fun compareTo(p0: kotlin.String!): kotlin.Int
open fun compareToIgnoreCase(p0: kotlin.String!): kotlin.Int
open fun regionMatches(p0: kotlin.Int, p1: kotlin.String!, p2: kotlin.Int, p3: kotlin.Int): kotlin.Boolean
open fun regionMatches(p0: kotlin.Boolean, p1: kotlin.Int, p2: kotlin.String!, p3: kotlin.Int, p4: kotlin.Int): kotlin.Boolean
open fun startsWith(p0: kotlin.String!, p1: kotlin.Int): kotlin.Boolean
open fun startsWith(p0: kotlin.String!): kotlin.Boolean
open fun endsWith(p0: kotlin.String!): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun indexOf(p0: kotlin.Int): kotlin.Int
open fun indexOf(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int
open fun indexOf(p0: kotlin.String!): kotlin.Int
open fun indexOf(p0: kotlin.String!, p1: kotlin.Int): kotlin.Int
private open fun indexOfSupplementary(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int
open fun lastIndexOf(p0: kotlin.Int): kotlin.Int
open fun lastIndexOf(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int
open fun lastIndexOf(p0: kotlin.String!): kotlin.Int
open fun lastIndexOf(p0: kotlin.String!, p1: kotlin.Int): kotlin.Int
private open fun lastIndexOfSupplementary(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int
open fun substring(p0: kotlin.Int): kotlin.String!
open fun substring(p0: kotlin.Int, p1: kotlin.Int): kotlin.String!
open fun subSequence(p0: kotlin.Int, p1: kotlin.Int): kotlin.CharSequence
open fun concat(p0: kotlin.String!): kotlin.String!
open fun replace(p0: kotlin.Char, p1: kotlin.Char): kotlin.String!
open fun replace(p0: kotlin.CharSequence!, p1: kotlin.CharSequence!): kotlin.String!
open fun matches(p0: kotlin.String!): kotlin.Boolean
open operator fun contains(p0: kotlin.CharSequence!): kotlin.Boolean
open fun replaceFirst(p0: kotlin.String!, p1: kotlin.String!): kotlin.String!
open fun replaceAll(p0: kotlin.String!, p1: kotlin.String!): kotlin.String!
open fun split(p0: kotlin.String!, p1: kotlin.Int): kotlin.Array<(out) kotlin.String!>!
open fun split(p0: kotlin.String!): kotlin.Array<(out) kotlin.String!>!
open fun toLowerCase(p0: java.util.Locale!): kotlin.String!
open fun toLowerCase(): kotlin.String!
open fun toUpperCase(p0: java.util.Locale!): kotlin.String!
open fun toUpperCase(): kotlin.String!
open fun trim(): kotlin.String!
open fun toString(): kotlin.String
open fun toCharArray(): kotlin.CharArray!
open fun intern(): kotlin.String!
open operator fun get(p0: kotlin.Int): kotlin.Char
private open class CaseInsensitiveComparator : kotlin.Any, java.util.Comparator<kotlin.String!>, java.io.Serializable
constructor()
constructor(p0: kotlin.String!)
constructor(p0: kotlin.CharArray!)
constructor(p0: kotlin.CharArray!, p1: kotlin.Int, p2: kotlin.Int)
constructor(p0: kotlin.IntArray!, p1: kotlin.Int, p2: kotlin.Int)
@kotlin.Deprecated(message = "Deprecated in Java")
constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int, p3: kotlin.Int)
@kotlin.Deprecated(message = "Deprecated in Java")
constructor(p0: kotlin.ByteArray!, p1: kotlin.Int)
constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int, p3: kotlin.String!)
constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int, p3: java.nio.charset.Charset!)
constructor(p0: kotlin.ByteArray!, p1: kotlin.String!)
constructor(p0: kotlin.ByteArray!, p1: java.nio.charset.Charset!)
constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int)
constructor(p0: kotlin.ByteArray!)
constructor(p0: java.lang.StringBuffer!)
constructor(p0: java.lang.StringBuilder!)
public/*package*/ constructor(p0: kotlin.CharArray!, p1: kotlin.Boolean)
@kotlin.Deprecated(message = "Deprecated in Java")
public/*package*/ constructor(p0: kotlin.Int, p1: kotlin.Int, p2: kotlin.CharArray!)
@@ -10,6 +10,7 @@ KtJavaFieldSymbol:
returnType: ft<kotlin/CharArray, kotlin/CharArray?>
symbolKind: CLASS_MEMBER
visibility: Private
getDispatchReceiver(): java/lang/String
deprecationStatus: null
KtJavaFieldSymbol:
@@ -24,6 +25,7 @@ KtJavaFieldSymbol:
returnType: kotlin/Int
symbolKind: CLASS_MEMBER
visibility: Private
getDispatchReceiver(): java/lang/String
deprecationStatus: null
KtFunctionSymbol:
@@ -62,6 +64,7 @@ KtJavaFieldSymbol:
returnType: kotlin/Int
symbolKind: CLASS_MEMBER
visibility: Private
getDispatchReceiver(): java/lang/String
deprecationStatus: null
KtSyntheticJavaPropertySymbol:
@@ -0,0 +1,7 @@
operator fun invoke(p1: P1, p2: P2): R
open operator fun equals(other: kotlin.Any?): kotlin.Boolean
open fun hashCode(): kotlin.Int
open fun toString(): kotlin.String
@@ -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()