Commit Graph

234 Commits

Author SHA1 Message Date
Mikhail Filippov
bf43f2fc01 IJPL-150165 bump Kotlin language and API version
GitOrigin-RevId: a59dc8ca214a5047773fccf1cf28a1e1b07acf68
2024-08-30 22:15:55 +00:00
Dmitrii Gridin
bb34856143 [kotlin] adopt isExpectDeclaration from compiler
^KT-70165

GitOrigin-RevId: 7e875973dab1bafc424d89f86f7cd6862409e6c7
2024-08-19 11:42:28 +00:00
Alexey Belkov
c589610890 [kotlin] Don't report inspections "Redundant property getter" / "Redundant property setter" with comments
^KTIJ-30781 Fixed

GitOrigin-RevId: 1f0b2a067a5f432ec3d94109b21d9e53ee525c81
2024-07-29 14:45:31 +00:00
Vladimir Dolzhenko
c9b0dded8f [kotlin] Provide Add name to argument intention on error call
#KTIJ-30592 Fixed

GitOrigin-RevId: 6114014a2a902eb252f21684e23a9c1f9f4559ac
2024-07-13 22:27:35 +00:00
Roman Golyshev
685d5c4ef1 KTIJ-30535 [kotlin] Extract code from ChangeToMutableCollectionFixFactories to MutableCollectionsConversionUtils
This code is going to be reused in multiple places

GitOrigin-RevId: 705519e798d01c579be92b638e9380e1975df0cf
2024-07-13 15:32:42 +00:00
Yan Zhulanow
9c7e738f14 [kotlin] Clean up type information provider deprecations in Analysis API usages
^KT-68884

GitOrigin-RevId: baa5f9529ba0eaa074d748a9cf615aa4e20df526
2024-07-12 07:39:22 +00:00
Yan Zhulanow
9725f7322e [kotlin] Remove usages of deprecated 'KaSymbolWithVisibility'
^KT-68882

GitOrigin-RevId: ccbe4cef84dc721bf118baec8e06c93a10c5e879
2024-07-12 07:39:22 +00:00
Yan Zhulanow
4c26a5ff2e [kotlin] Clean up symbol provider deprecations in Analysis API usages
^KT-68884

GitOrigin-RevId: 88ae06a8e485d6a40f99fe6511175426e766a26b
2024-07-12 07:39:21 +00:00
Yan Zhulanow
fce177b293 [kotlin] Clean up symbol deprecations in Analysis API usages
^KT-67996
^KT-68884

GitOrigin-RevId: abb3fc5a1cbbe662cc827d1dfa3359415d996987
2024-07-12 07:39:21 +00:00
Anna Kozlova
47be4c7323 [kotlin] k2 port SafeAccessToIfThen
^KTIJ-30540 fixed

GitOrigin-RevId: 034eb64ed877e819ba27d040c7b6d514eb2a07e9
2024-07-10 21:22:42 +00:00
Andrew Kozlov
f0eb68a89e [kotlin] KTIJ-29776 properties instead of methods
GitOrigin-RevId: deb2677132251300135c377d40f904949363c475
2024-07-10 17:50:46 +00:00
Vlad Koshkin
ce6f8813db Merge commit '813e61b202209c2216e28c3c9a58cb8b5d4c0682' into master-813e61b202209c2216e28c3c9a58cb8b5d4c0682
# Conflicts:
#	community/plugins/kotlin/core/src/org/jetbrains/kotlin/idea/references/KtFe10ReferenceResolutionHelperImpl.kt
#	community/plugins/kotlin/jvm-debugger/core/src/org/jetbrains/kotlin/idea/debugger/core/jvmNameUtil.kt
#	community/plugins/kotlin/refactorings/kotlin.refactorings.k2/src/org/jetbrains/kotlin/idea/k2/refactoring/inline/codeInliner/InlinePreprocessorUtil.kt

GitOrigin-RevId: de65740be8c1237da67bebcfd95aaf44db380104
2024-07-05 12:07:45 +02:00
Yan Zhulanow
48201dfbc3 [kotlin] Adapt the Kotlin code plugin after 'KaType' unsealing
GitOrigin-RevId: 55678a9e611d5fadee00fe418ec0c3767bc8f6e2
2024-07-03 09:34:29 +00:00
Yan Zhulanow
ace6572a1c [kotlin] Adapt to changes in 'containingSymbol' and 'containingDeclaration'
^KT-69535

GitOrigin-RevId: 59dfdb3fea56a3858be459988e41640b8ed53ae5
2024-07-01 10:37:41 +00:00
Vladimir Dolzhenko
ea06bf5246 [kotlin] Backtick only uncommon package name parts
#KTIJ-30095

GitOrigin-RevId: 15c6498a403d35777158263e21e482502bee058e
2024-06-26 13:04:27 +00:00
Vladimir Dolzhenko
4f868bf34b [kotlin] Fixed backticking
#KTIJ-30095 Fixed

GitOrigin-RevId: 4560c4edc9801d08c42d4b534f5de51317f682c1
2024-06-26 00:29:35 +00:00
Yan Zhulanow
5bc4eeb297 Merge commit '8fb6929b0182cb3275422a292e7a700a98862c9b'
GitOrigin-RevId: cc4590bffe453a482df6f8f23da4aeeaa79ba363
2024-06-24 18:51:50 +09:00
Yan Zhulanow
926ae7acd6 [kotlin] Migrate 'getScopeContextForPosition()' to 'scopeContext()'
^KT-67996

GitOrigin-RevId: 01b3bcbe2534a7fdfb9a0766015a0e479eade376
2024-06-23 20:30:36 +00:00
Yan Zhulanow
aa046e9261 [kotlin] Migrate 'getReturnKtType()' to 'returnType'
^KT-67996

GitOrigin-RevId: 7dff22dcfef133152dd34989b8f5acdceef1b998
2024-06-23 20:30:35 +00:00
Yan Zhulanow
2b9bb37cd0 [kotlin] Migrate 'getKtType()' to 'expressionType'
^KT-67996

GitOrigin-RevId: 3a060e99ec65320d72bc4839df4efaebd17ada21
2024-06-23 20:30:35 +00:00
Yan Zhulanow
747835c109 [kotlin] Migrate 'KtTypeRenderer' to 'KaTypeRenderer'
^KT-67996

GitOrigin-RevId: 93f94f9b6ef8efbc1c384bdadbeb20af10f062d4
2024-06-23 20:30:35 +00:00
Yan Zhulanow
2e7eb91e72 [kotlin] Migrate 'KtType' to 'KaType'
^KT-67996

GitOrigin-RevId: d079b3ca7817c537905abc2336e1a584533ca25d
2024-06-23 20:30:35 +00:00
Yan Zhulanow
b6d506d3f4 [kotlin] Migrate 'ownTypeArguments()' to 'typeArguments()'
^KT-67996

GitOrigin-RevId: 660daa9919888a3265ce70d9ef4f5fd5862f7326
2024-06-23 20:30:35 +00:00
Yan Zhulanow
df3875e4fc [kotlin] Migrate 'KtDynamicType' to 'KaDynamicType'
^KT-67996

GitOrigin-RevId: 9ac20120ef948261d8c3a4acb3cee835fe75006f
2024-06-23 20:30:35 +00:00
Yan Zhulanow
6e0466edd0 [kotlin] Migrate 'KtIntersectionType' to 'KaIntersectionType'
^KT-67996

GitOrigin-RevId: d536609420126a1cc1b07d6977f3249147a3bd6b
2024-06-23 20:30:35 +00:00
Yan Zhulanow
abe0010c18 [kotlin] Migrate 'KtFlexibleType' to 'KaFlexibleType'
^KT-67996

GitOrigin-RevId: 526ea01ef47e315358c3b3257837f7f511cc1e66
2024-06-23 20:30:35 +00:00
Yan Zhulanow
07378ebb22 [kotlin] Migrate 'KtDefinitelyNotNullType' to 'KaDefinitelyNotNullType'
^KT-67996

GitOrigin-RevId: 6c7055e2fcfc34c5056edd2b9e39975a6d7c7b11
2024-06-23 20:30:35 +00:00
Yan Zhulanow
6fa07caae5 [kotlin] Migrate 'KtCapturedType' to 'KaCapturedType'
^KT-67996

GitOrigin-RevId: d1ae0dc1b1afeec8a7ba8a8df8c979aeabfdecc8
2024-06-23 20:30:35 +00:00
Yan Zhulanow
0c8787db3b [kotlin] Migrate 'KtTypeParameterType' to 'KaTypeParameterType'
^KT-67996

GitOrigin-RevId: 1c1f5dff8c046820b77e749ab0ebf4888a08c9da
2024-06-23 20:30:35 +00:00
Yan Zhulanow
e0cfce525e [kotlin] Migrate 'KtFunctionalType' to 'KaFunctionType'
^KT-67996

GitOrigin-RevId: e2ad6ceacaa313b4fd6ee2c9ee551c4c63e45886
2024-06-23 20:30:35 +00:00
Yan Zhulanow
b7e33c948c [kotlin] Migrate 'KtNonErrorClassType' to 'KaClassType'
^KT-67996

GitOrigin-RevId: d14505f253c01bd56232f3214471531fb9d25d71
2024-06-23 20:30:35 +00:00
Yan Zhulanow
536c880acd [kotlin] Migrate 'KaFunctionalType' to 'KaFunctionType'
^KT-67996

GitOrigin-RevId: e19535bebdb720c4110a976d3ea643cb8a6b28cb
2024-06-23 20:30:35 +00:00
Yan Zhulanow
41f351abb8 [kotlin] Migrate 'KtErrorType' to 'KaErrorType'
^KT-67996

GitOrigin-RevId: 652b2f02ef06e1e6376995c87696ccefa78bfc8f
2024-06-23 20:30:35 +00:00
Yan Zhulanow
e7d903911d [kotlin] Migrate 'KtTypeNullability' to 'KaTypeNullability'
^KT-67996

GitOrigin-RevId: 92b59e2d0db2ad72a5c73afa936abc6e891b51b1
2024-06-23 20:30:35 +00:00
Yan Zhulanow
70a8298a42 [kotlin] Migrate 'KtFlexibleTypeRenderer' to 'KaFlexibleTypeRenderer'
^KT-67996

GitOrigin-RevId: 96757d52ef8b44cf33c662d3b9c702ce42e9431f
2024-06-23 20:30:34 +00:00
Yan Zhulanow
e6611ad011 [kotlin] Migrate 'KtSymbolOrigin' to 'KaSymbolOrigin'
^KT-67996

GitOrigin-RevId: 23770b98669875c42f3bab2c0b2b3536fb2ff413
2024-06-23 20:30:34 +00:00
Yan Zhulanow
6f00fccebf [kotlin] Migrate 'KtImplicitReceiver' to 'KaImplicitReceiver'
^KT-67996

GitOrigin-RevId: d2d486d5c1e766c1090b14a6ed32ed6c65f772fd
2024-06-23 20:30:34 +00:00
Yan Zhulanow
34104bce38 [kotlin] Migrate 'KtVariableLikeSignature' to 'KaVariableSignature'
^KT-67996

GitOrigin-RevId: 24017cc1e6191d93040d89416e77545c78396c52
2024-06-23 20:30:33 +00:00
Yan Zhulanow
069893e215 [kotlin] Migrate 'resolveCallOld()' to 'resolveToCall()'
^KT-67996

GitOrigin-RevId: 3731b499d35bcc1080e61c40c163eb509d9c417d
2024-06-22 19:53:47 +00:00
Yan Zhulanow
7980a21f0a [kotlin] Migrate 'KtVariableLikeSymbol' to 'KaVariableSymbol'
^KT-67996

GitOrigin-RevId: 933e99d84d3bc27daa58a12ed8292002b0f6d021
2024-06-22 19:53:47 +00:00
Yan Zhulanow
69b08cc55e [kotlin] Migrate 'KaVariableLikeSymbol' to 'KaVariableSymbol'
^KT-67996

GitOrigin-RevId: b9105f0327199630dc57ffae38ed438a63055bff
2024-06-22 19:53:47 +00:00
Yan Zhulanow
75155385a7 [kotlin] Migrate 'KtPropertySymbol' to 'KaPropertySymbol'
^KT-67996

GitOrigin-RevId: 4bb99a1d38211fdf56124fd9425dccc4d10983ee
2024-06-22 19:53:46 +00:00
Yan Zhulanow
83c12757f3 [kotlin] Migrate 'KaClassOrObjectSymbol' to 'KaClassSymbol'
^KT-67996

GitOrigin-RevId: e69c3dd0efeb4646593b6a2c6cb370921436ecd1
2024-06-22 19:53:46 +00:00
Yan Zhulanow
8158733aae [kotlin] Migrate 'KtSymbol' to 'KaSymbol'
^KT-67996

GitOrigin-RevId: 85e8017f0b930300ef7639f937a3f20456cababd
2024-06-22 19:53:46 +00:00
Yan Zhulanow
0b5bd8ac3d [kotlin] Migrate 'KtPackageSymbol' to 'KaPackageSymbol'
^KT-67996

GitOrigin-RevId: b38c518ca3dcc3ef502ef8220a9e9e611b2f0bd6
2024-06-22 19:53:46 +00:00
Yan Zhulanow
f53155e7b4 [kotlin] Migrate 'KtPropertySymbol' to 'KaPropertySymbol'
^KT-67996

GitOrigin-RevId: b98b49cacaa5d713fc16ce5e7de1905dafe58874
2024-06-22 19:53:46 +00:00
Dmitrii Gridin
92a54ba4c6 [kotlin] adapt code to KaSymbolVisibility
^KT-68882

GitOrigin-RevId: 5822a0135e31790d9af63725cc33cd929306cf8e
2024-06-22 09:45:10 +02:00
Dmitrii Gridin
4d910be751 [kotlin] adapt code after KaSymbolWithTypeParameters changes
^KT-68882

GitOrigin-RevId: b0716f42c7bbc1bf3d8838fdf78f81700f255d4b
2024-06-21 17:51:13 +02:00
Andrey Cherkasov
40f6e5e2a7 [kotlin] Fix warning
^KTIJ-29587

GitOrigin-RevId: d4fb43077d716c4c1c9db65db554ef4d6648fd7c
2024-06-21 02:42:20 +00:00
Andrey Cherkasov
261c9dda91 [kotlin] Move the ValVarExpression.kt file
^KTIJ-29587

GitOrigin-RevId: 641e083f02817941927b84c0a8400c25aa4fc291
2024-06-21 02:42:20 +00:00