From 6831bde75131e929ce4a80f1e00f31dfc2b7e83b Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Tue, 5 Apr 2022 19:16:17 +0200 Subject: [PATCH] [analysis api fir, tests] update parameter names in testdata --- .../testData/referenceResolve/SamAdapter.txt | 2 +- .../inImport/staticMethodFromJavaClass.txt | 2 +- .../scopes/memberScopeByFqName/Int.pretty.txt | 2 +- .../scopes/memberScopeByFqName/Int.txt | 2 +- .../java.lang.String.pretty.txt | 122 +++++----- .../memberScopeByFqName/java.lang.String.txt | 224 +++++++++--------- ...tructorViaTypeAlias.descriptors.pretty.txt | 2 +- .../constructorViaTypeAlias.pretty.txt | 2 +- .../constructorViaTypeAlias.txt | 4 +- 9 files changed, 181 insertions(+), 181 deletions(-) diff --git a/analysis/analysis-api/testData/referenceResolve/SamAdapter.txt b/analysis/analysis-api/testData/referenceResolve/SamAdapter.txt index 6462e475c5b..97e81481e35 100644 --- a/analysis/analysis-api/testData/referenceResolve/SamAdapter.txt +++ b/analysis/analysis-api/testData/referenceResolve/SamAdapter.txt @@ -1,2 +1,2 @@ Resolved to: -0: (in javax.swing.SwingUtilities) open fun invokeLater(p0: java.lang.Runnable!) +0: (in javax.swing.SwingUtilities) open fun invokeLater(doRun: java.lang.Runnable!) \ No newline at end of file diff --git a/analysis/analysis-api/testData/referenceResolve/inImport/staticMethodFromJavaClass.txt b/analysis/analysis-api/testData/referenceResolve/inImport/staticMethodFromJavaClass.txt index f7e1cc327de..b0a68c2eabb 100644 --- a/analysis/analysis-api/testData/referenceResolve/inImport/staticMethodFromJavaClass.txt +++ b/analysis/analysis-api/testData/referenceResolve/inImport/staticMethodFromJavaClass.txt @@ -1,2 +1,2 @@ Resolved to: -0: (in java.lang.Math) open fun sin(p0: kotlin.Double): kotlin.Double +0: (in java.lang.Math) open fun sin(a: kotlin.Double): kotlin.Double \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.pretty.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.pretty.txt index 4e69535d127..036c7016c2a 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.pretty.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.pretty.txt @@ -128,6 +128,6 @@ open fun toString(): kotlin.String companion object -constructor(p0: kotlin.Int) +constructor(value: kotlin.Int) private constructor() \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt index 6e063413d13..904aa896974 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/Int.txt @@ -1669,7 +1669,7 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(value) ] visibility: Public deprecationStatus: null diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.pretty.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.pretty.txt index f7bcfca61d8..4b41719d455 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.pretty.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.pretty.txt @@ -10,100 +10,100 @@ open val length: kotlin.Int open fun isEmpty(): kotlin.Boolean -open fun codePointAt(p0: kotlin.Int): kotlin.Int +open fun codePointAt(index: kotlin.Int): kotlin.Int -open fun codePointBefore(p0: kotlin.Int): kotlin.Int +open fun codePointBefore(index: kotlin.Int): kotlin.Int -open fun codePointCount(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int +open fun codePointCount(beginIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.Int -open fun offsetByCodePoints(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int +open fun offsetByCodePoints(index: kotlin.Int, codePointOffset: kotlin.Int): kotlin.Int -public/*package*/ open fun getChars(p0: kotlin.CharArray!, p1: kotlin.Int) +public/*package*/ open fun getChars(dst: kotlin.CharArray!, dstBegin: kotlin.Int) -open fun getChars(p0: kotlin.Int, p1: kotlin.Int, p2: kotlin.CharArray!, p3: kotlin.Int) +open fun getChars(srcBegin: kotlin.Int, srcEnd: kotlin.Int, dst: kotlin.CharArray!, dstBegin: 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(srcBegin: kotlin.Int, srcEnd: kotlin.Int, dst: kotlin.ByteArray!, dstBegin: kotlin.Int) -open fun getBytes(p0: kotlin.String!): kotlin.ByteArray! +open fun getBytes(charsetName: kotlin.String!): kotlin.ByteArray! -open fun getBytes(p0: java.nio.charset.Charset!): kotlin.ByteArray! +open fun getBytes(charset: java.nio.charset.Charset!): kotlin.ByteArray! open fun getBytes(): kotlin.ByteArray! -open operator fun equals(p0: kotlin.Any?): kotlin.Boolean +open operator fun equals(anObject: kotlin.Any?): kotlin.Boolean -open fun contentEquals(p0: java.lang.StringBuffer!): kotlin.Boolean +open fun contentEquals(sb: java.lang.StringBuffer!): kotlin.Boolean -open fun contentEquals(p0: kotlin.CharSequence!): kotlin.Boolean +open fun contentEquals(cs: kotlin.CharSequence!): kotlin.Boolean -open fun equalsIgnoreCase(p0: kotlin.String!): kotlin.Boolean +open fun equalsIgnoreCase(anotherString: kotlin.String!): kotlin.Boolean -open operator fun compareTo(p0: kotlin.String!): kotlin.Int +open operator fun compareTo(anotherString: kotlin.String!): kotlin.Int -open fun compareToIgnoreCase(p0: kotlin.String!): kotlin.Int +open fun compareToIgnoreCase(str: kotlin.String!): kotlin.Int -open fun regionMatches(p0: kotlin.Int, p1: kotlin.String!, p2: kotlin.Int, p3: kotlin.Int): kotlin.Boolean +open fun regionMatches(toffset: kotlin.Int, other: kotlin.String!, ooffset: kotlin.Int, len: 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 regionMatches(ignoreCase: kotlin.Boolean, toffset: kotlin.Int, other: kotlin.String!, ooffset: kotlin.Int, len: kotlin.Int): kotlin.Boolean -open fun startsWith(p0: kotlin.String!, p1: kotlin.Int): kotlin.Boolean +open fun startsWith(prefix: kotlin.String!, toffset: kotlin.Int): kotlin.Boolean -open fun startsWith(p0: kotlin.String!): kotlin.Boolean +open fun startsWith(prefix: kotlin.String!): kotlin.Boolean -open fun endsWith(p0: kotlin.String!): kotlin.Boolean +open fun endsWith(suffix: kotlin.String!): kotlin.Boolean open fun hashCode(): kotlin.Int -open fun indexOf(p0: kotlin.Int): kotlin.Int +open fun indexOf(ch: kotlin.Int): kotlin.Int -open fun indexOf(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int +open fun indexOf(ch: kotlin.Int, fromIndex: kotlin.Int): kotlin.Int -open fun indexOf(p0: kotlin.String!): kotlin.Int +open fun indexOf(str: kotlin.String!): kotlin.Int -open fun indexOf(p0: kotlin.String!, p1: kotlin.Int): kotlin.Int +open fun indexOf(str: kotlin.String!, fromIndex: kotlin.Int): kotlin.Int -private open fun indexOfSupplementary(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int +private open fun indexOfSupplementary(ch: kotlin.Int, fromIndex: kotlin.Int): kotlin.Int -open fun lastIndexOf(p0: kotlin.Int): kotlin.Int +open fun lastIndexOf(ch: kotlin.Int): kotlin.Int -open fun lastIndexOf(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int +open fun lastIndexOf(ch: kotlin.Int, fromIndex: kotlin.Int): kotlin.Int -open fun lastIndexOf(p0: kotlin.String!): kotlin.Int +open fun lastIndexOf(str: kotlin.String!): kotlin.Int -open fun lastIndexOf(p0: kotlin.String!, p1: kotlin.Int): kotlin.Int +open fun lastIndexOf(str: kotlin.String!, fromIndex: kotlin.Int): kotlin.Int -private open fun lastIndexOfSupplementary(p0: kotlin.Int, p1: kotlin.Int): kotlin.Int +private open fun lastIndexOfSupplementary(ch: kotlin.Int, fromIndex: kotlin.Int): kotlin.Int -open fun substring(p0: kotlin.Int): kotlin.String! +open fun substring(beginIndex: kotlin.Int): kotlin.String! -open fun substring(p0: kotlin.Int, p1: kotlin.Int): kotlin.String! +open fun substring(beginIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.String! -open fun subSequence(p0: kotlin.Int, p1: kotlin.Int): kotlin.CharSequence +open fun subSequence(beginIndex: kotlin.Int, endIndex: kotlin.Int): kotlin.CharSequence -open fun concat(p0: kotlin.String!): kotlin.String! +open fun concat(str: kotlin.String!): kotlin.String! -open fun replace(p0: kotlin.Char, p1: kotlin.Char): kotlin.String! +open fun replace(oldChar: kotlin.Char, newChar: kotlin.Char): kotlin.String! -open fun replace(p0: kotlin.CharSequence!, p1: kotlin.CharSequence!): kotlin.String! +open fun replace(target: kotlin.CharSequence!, replacement: kotlin.CharSequence!): kotlin.String! -open fun matches(p0: kotlin.String!): kotlin.Boolean +open fun matches(regex: kotlin.String!): kotlin.Boolean -open operator fun contains(p0: kotlin.CharSequence!): kotlin.Boolean +open operator fun contains(s: kotlin.CharSequence!): kotlin.Boolean -open fun replaceFirst(p0: kotlin.String!, p1: kotlin.String!): kotlin.String! +open fun replaceFirst(regex: kotlin.String!, replacement: kotlin.String!): kotlin.String! -open fun replaceAll(p0: kotlin.String!, p1: kotlin.String!): kotlin.String! +open fun replaceAll(regex: kotlin.String!, replacement: kotlin.String!): kotlin.String! -open fun split(p0: kotlin.String!, p1: kotlin.Int): kotlin.Array<(out) kotlin.String!>! +open fun split(regex: kotlin.String!, limit: kotlin.Int): kotlin.Array<(out) kotlin.String!>! -open fun split(p0: kotlin.String!): kotlin.Array<(out) kotlin.String!>! +open fun split(regex: kotlin.String!): kotlin.Array<(out) kotlin.String!>! -open fun toLowerCase(p0: java.util.Locale!): kotlin.String! +open fun toLowerCase(locale: java.util.Locale!): kotlin.String! open fun toLowerCase(): kotlin.String! -open fun toUpperCase(p0: java.util.Locale!): kotlin.String! +open fun toUpperCase(locale: java.util.Locale!): kotlin.String! open fun toUpperCase(): kotlin.String! @@ -115,43 +115,43 @@ open fun toCharArray(): kotlin.CharArray! open fun intern(): kotlin.String! -open operator fun get(p0: kotlin.Int): kotlin.Char +open operator fun get(index: kotlin.Int): kotlin.Char private open class CaseInsensitiveComparator : kotlin.Any, java.util.Comparator, java.io.Serializable constructor() -constructor(p0: kotlin.String!) +constructor(original: kotlin.String!) -constructor(p0: kotlin.CharArray!) +constructor(value: kotlin.CharArray!) -constructor(p0: kotlin.CharArray!, p1: kotlin.Int, p2: kotlin.Int) +constructor(value: kotlin.CharArray!, offset: kotlin.Int, count: kotlin.Int) -constructor(p0: kotlin.IntArray!, p1: kotlin.Int, p2: kotlin.Int) +constructor(codePoints: kotlin.IntArray!, offset: kotlin.Int, count: kotlin.Int) @kotlin.Deprecated(message = "Deprecated in Java") -constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int, p3: kotlin.Int) +constructor(ascii: kotlin.ByteArray!, hibyte: kotlin.Int, offset: kotlin.Int, count: kotlin.Int) @kotlin.Deprecated(message = "Deprecated in Java") -constructor(p0: kotlin.ByteArray!, p1: kotlin.Int) +constructor(ascii: kotlin.ByteArray!, hibyte: kotlin.Int) -constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int, p3: kotlin.String!) +constructor(bytes: kotlin.ByteArray!, offset: kotlin.Int, length: kotlin.Int, charsetName: kotlin.String!) -constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int, p3: java.nio.charset.Charset!) +constructor(bytes: kotlin.ByteArray!, offset: kotlin.Int, length: kotlin.Int, charset: java.nio.charset.Charset!) -constructor(p0: kotlin.ByteArray!, p1: kotlin.String!) +constructor(bytes: kotlin.ByteArray!, charsetName: kotlin.String!) -constructor(p0: kotlin.ByteArray!, p1: java.nio.charset.Charset!) +constructor(bytes: kotlin.ByteArray!, charset: java.nio.charset.Charset!) -constructor(p0: kotlin.ByteArray!, p1: kotlin.Int, p2: kotlin.Int) +constructor(bytes: kotlin.ByteArray!, offset: kotlin.Int, length: kotlin.Int) -constructor(p0: kotlin.ByteArray!) +constructor(bytes: kotlin.ByteArray!) -constructor(p0: java.lang.StringBuffer!) +constructor(buffer: java.lang.StringBuffer!) -constructor(p0: java.lang.StringBuilder!) +constructor(builder: java.lang.StringBuilder!) -public/*package*/ constructor(p0: kotlin.CharArray!, p1: kotlin.Boolean) +public/*package*/ constructor(value: kotlin.CharArray!, share: kotlin.Boolean) @kotlin.Deprecated(message = "Deprecated in Java") -public/*package*/ constructor(p0: kotlin.Int, p1: kotlin.Int, p2: kotlin.CharArray!) \ No newline at end of file +public/*package*/ constructor(offset: kotlin.Int, count: kotlin.Int, value: kotlin.CharArray!) \ No newline at end of file diff --git a/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt b/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt index d145d77d718..36298c5aa8c 100644 --- a/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt +++ b/analysis/analysis-api/testData/scopes/memberScopeByFqName/java.lang.String.txt @@ -146,7 +146,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(index) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -173,7 +173,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(index) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -200,8 +200,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(beginIndex) + KtValueParameterSymbol(endIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -228,8 +228,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(index) + KtValueParameterSymbol(codePointOffset) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -256,8 +256,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(dst) + KtValueParameterSymbol(dstBegin) ] visibility: PackageVisibility getDispatchReceiver(): java/lang/String @@ -284,10 +284,10 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) - KtValueParameterSymbol(p3) + KtValueParameterSymbol(srcBegin) + KtValueParameterSymbol(srcEnd) + KtValueParameterSymbol(dst) + KtValueParameterSymbol(dstBegin) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -317,10 +317,10 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) - KtValueParameterSymbol(p3) + KtValueParameterSymbol(srcBegin) + KtValueParameterSymbol(srcEnd) + KtValueParameterSymbol(dst) + KtValueParameterSymbol(dstBegin) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -347,7 +347,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(charsetName) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -374,7 +374,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(charset) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -426,7 +426,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(anObject) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -453,7 +453,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(sb) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -480,7 +480,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(cs) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -507,7 +507,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(anotherString) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -534,7 +534,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(anotherString) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -561,7 +561,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(str) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -588,10 +588,10 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) - KtValueParameterSymbol(p3) + KtValueParameterSymbol(toffset) + KtValueParameterSymbol(other) + KtValueParameterSymbol(ooffset) + KtValueParameterSymbol(len) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -618,11 +618,11 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) - KtValueParameterSymbol(p3) - KtValueParameterSymbol(p4) + KtValueParameterSymbol(ignoreCase) + KtValueParameterSymbol(toffset) + KtValueParameterSymbol(other) + KtValueParameterSymbol(ooffset) + KtValueParameterSymbol(len) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -649,8 +649,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(prefix) + KtValueParameterSymbol(toffset) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -677,7 +677,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(prefix) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -704,7 +704,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(suffix) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -756,7 +756,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(ch) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -783,8 +783,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(ch) + KtValueParameterSymbol(fromIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -811,7 +811,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(str) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -838,8 +838,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(str) + KtValueParameterSymbol(fromIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -866,8 +866,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(ch) + KtValueParameterSymbol(fromIndex) ] visibility: Private getDispatchReceiver(): java/lang/String @@ -894,7 +894,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(ch) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -921,8 +921,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(ch) + KtValueParameterSymbol(fromIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -949,7 +949,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(str) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -976,8 +976,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(str) + KtValueParameterSymbol(fromIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1004,8 +1004,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(ch) + KtValueParameterSymbol(fromIndex) ] visibility: Private getDispatchReceiver(): java/lang/String @@ -1032,7 +1032,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(beginIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1059,8 +1059,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(beginIndex) + KtValueParameterSymbol(endIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1087,8 +1087,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(beginIndex) + KtValueParameterSymbol(endIndex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1115,7 +1115,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(str) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1142,8 +1142,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(oldChar) + KtValueParameterSymbol(newChar) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1170,8 +1170,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(target) + KtValueParameterSymbol(replacement) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1198,7 +1198,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(regex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1225,7 +1225,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(s) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1252,8 +1252,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(regex) + KtValueParameterSymbol(replacement) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1280,8 +1280,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(regex) + KtValueParameterSymbol(replacement) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1308,8 +1308,8 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(regex) + KtValueParameterSymbol(limit) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1336,7 +1336,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(regex) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1363,7 +1363,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(locale) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1415,7 +1415,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(locale) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1567,7 +1567,7 @@ KtFunctionSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(index) ] visibility: Public getDispatchReceiver(): java/lang/String @@ -1625,7 +1625,7 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(original) ] visibility: Public deprecationStatus: null @@ -1643,7 +1643,7 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(value) ] visibility: Public deprecationStatus: null @@ -1661,9 +1661,9 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) + KtValueParameterSymbol(value) + KtValueParameterSymbol(offset) + KtValueParameterSymbol(count) ] visibility: Public deprecationStatus: null @@ -1681,9 +1681,9 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) + KtValueParameterSymbol(codePoints) + KtValueParameterSymbol(offset) + KtValueParameterSymbol(count) ] visibility: Public deprecationStatus: null @@ -1704,10 +1704,10 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) - KtValueParameterSymbol(p3) + KtValueParameterSymbol(ascii) + KtValueParameterSymbol(hibyte) + KtValueParameterSymbol(offset) + KtValueParameterSymbol(count) ] visibility: Public deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=Deprecated in Java) @@ -1728,8 +1728,8 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(ascii) + KtValueParameterSymbol(hibyte) ] visibility: Public deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=Deprecated in Java) @@ -1747,10 +1747,10 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) - KtValueParameterSymbol(p3) + KtValueParameterSymbol(bytes) + KtValueParameterSymbol(offset) + KtValueParameterSymbol(length) + KtValueParameterSymbol(charsetName) ] visibility: Public deprecationStatus: null @@ -1768,10 +1768,10 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) - KtValueParameterSymbol(p3) + KtValueParameterSymbol(bytes) + KtValueParameterSymbol(offset) + KtValueParameterSymbol(length) + KtValueParameterSymbol(charset) ] visibility: Public deprecationStatus: null @@ -1789,8 +1789,8 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(bytes) + KtValueParameterSymbol(charsetName) ] visibility: Public deprecationStatus: null @@ -1808,8 +1808,8 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(bytes) + KtValueParameterSymbol(charset) ] visibility: Public deprecationStatus: null @@ -1827,9 +1827,9 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) + KtValueParameterSymbol(bytes) + KtValueParameterSymbol(offset) + KtValueParameterSymbol(length) ] visibility: Public deprecationStatus: null @@ -1847,7 +1847,7 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(bytes) ] visibility: Public deprecationStatus: null @@ -1865,7 +1865,7 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(buffer) ] visibility: Public deprecationStatus: null @@ -1883,7 +1883,7 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(builder) ] visibility: Public deprecationStatus: null @@ -1901,8 +1901,8 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) + KtValueParameterSymbol(value) + KtValueParameterSymbol(share) ] visibility: PackageVisibility deprecationStatus: null @@ -1923,9 +1923,9 @@ KtConstructorSymbol: symbolKind: CLASS_MEMBER typeParameters: [] valueParameters: [ - KtValueParameterSymbol(p0) - KtValueParameterSymbol(p1) - KtValueParameterSymbol(p2) + KtValueParameterSymbol(offset) + KtValueParameterSymbol(count) + KtValueParameterSymbol(value) ] visibility: PackageVisibility deprecationStatus: DeprecationInfo(deprecationLevel=WARNING, propagatesToOverrides=false, message=Deprecated in Java) \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.descriptors.pretty.txt b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.descriptors.pretty.txt index 6dfed1c2ba8..8afd0582100 100644 --- a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.descriptors.pretty.txt +++ b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.descriptors.pretty.txt @@ -1 +1 @@ -constructor(p0: kotlin.collections.MutableCollectionkotlin.collections.Collection?!) \ No newline at end of file +constructor(c: kotlin.collections.MutableCollectionkotlin.collections.Collection?!) \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.pretty.txt b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.pretty.txt index 7b7ac5c204f..68acaedb3d3 100644 --- a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.pretty.txt +++ b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.pretty.txt @@ -1 +1 @@ -constructor(p0: kotlin.collections.(Mutable)Collection!) +constructor(c: kotlin.collections.(Mutable)Collection!) \ No newline at end of file diff --git a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt index b9371a17fa1..572d5748e9e 100644 --- a/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt +++ b/analysis/analysis-api/testData/symbols/symbolByReference/constructorViaTypeAlias.txt @@ -13,7 +13,7 @@ KtConstructorSymbol: KtTypeParameterSymbol(E) ] valueParameters: [ - KtValueParameterSymbol(p0) + KtValueParameterSymbol(c) ] visibility: Public - deprecationStatus: null + deprecationStatus: null \ No newline at end of file