Denis.Zharkov
2e5b783cc6
K2: Refine how JDK members are mapped to built-in classes
...
Previously, the semantic was more-or-less correct for most of the cases
but some corner one, like `sort` in MutableList didn't work properly.
Namely, `sort` should be marked there in a way to forbid to call it
everywhere beside super-calls.
Also, overriding it should be allowed.
Mostly, the logic was re-written to K2 model from K1-related
JvmBuiltInsCustomizer.
^KT-57694 In progress
^KT-57269 Fixed
2023-05-30 10:44:41 +00:00
Ilya Kirillov
d1da3b8acd
[Analysis API] fix missing names in KtFirStarImportingScope
...
The missing name types were: java classifier names, callable/classifier names generated by plugins
2023-05-19 11:53:16 +00:00
Dmitrii Gridin
ae1622d059
[LL FIR] support lazy resolve for fake override declarations
...
^KT-58727 Fixed
2023-05-17 09:51:21 +00:00
Dmitrii Gridin
4472e1ae4e
[AA FIR] add tests on implicit type in delegated scope
...
^KT-58727
2023-05-17 09:51:21 +00:00
Anna Kozlova
5ca052f87b
[LL] [cls] use stubBased symbol provider for builtins
...
this gives the following benefits:
1. no protobuf in memory, all data is already present in stubs
2. given that symbol provider for libraries is already stub based,
we can get rid of complicated code to find source psi by deserialized fir
3. it's also possible to reduce number of index access,
when fir is requested for given ktElement
2023-05-09 07:36:09 +00:00
Ilya Kirillov
ba3a3915c7
[Analysis API] tests: use tagged caret to find declaration to analyze in the air against
...
We cannot use a KtFile as analysis context.
^KT-55527
2023-05-04 15:26:50 +00:00
Ilya Kirillov
eeac3f53b4
[Analysis API] add tests for getImportingScopeContext
...
^KT-57966
2023-05-04 15:26:50 +00:00
Ilya Gorbunov
b35b727d73
KT-53778 Remove experimental annotations from open ranges
2023-04-28 17:12:15 +00:00
Mikhail Glukhikh
156be26982
AA: use full rendering of backing field symbols
2023-04-25 12:18:27 +00:00
Mikhail Glukhikh
1f05ce2e01
AA/LC: Support annotation property->backing field move
...
#KT-57462 Fixed
2023-04-25 12:18:27 +00:00
Kirill Rakhman
1f0d56e157
[FIR] Make type parameters inaccessible for non-inner nested types
...
#KT-57209
2023-03-28 13:20:53 +00:00
aleksandrina-streltsova
e8272fa02e
[Analysis API] Move testdata for scope provider
2023-03-20 22:04:48 +00:00
aleksandrina-streltsova
4b7164a557
[Analysis API] Allow handling scopes from KtScopeContext separately
...
^KT-55527
2023-03-20 22:04:48 +00:00
Dmitrii Gridin
72d8fa216a
[AA] DebugSymbolRenderer: move annotations and type arguments renderer befor type to avoid resolve race
...
^KT-56046
2023-02-03 19:48:56 +00:00
Dmitrii Gridin
1e2d517c21
[AA] DebugSymbolRenderer: improve type render
...
to process all nested annotations and types
^KT-56046
2023-02-03 19:48:55 +00:00
Nikita Bobko
5be153cd65
2/2 analysis-api: Initial implementation for contracts
...
Review: https://jetbrains.team/p/kt/reviews/7652
Put this change into a separate commit because:
1. The change is boring and clutters the diff of the first commit
2. The first commits is already too big
2022-12-01 14:42:49 +01:00
Dmitrii Gridin
1ebfbc0ee9
[AA] KtCallableSymbol: rename receiver to receiverParameter
...
^KT-54417
2022-11-17 09:50:12 +00:00
Dmitrii Gridin
2741052db3
[AA] integrate KtReceiverParameterSymbol to KtCallableSymbol
...
^KT-54417
2022-11-17 09:50:10 +00:00
Dmitrii Gridin
4ee5bf178c
[AA] DebugSymbolRenderer: render symbols recursively
...
^KT-54311
2022-10-17 14:59:47 +00:00
Ilya Kirillov
6a145b52aa
[Analysis API] update testdata after adding context receivers
2022-07-05 10:34:28 +02:00
Ilya Kirillov
bb7b34b3a1
[Analysis API] introduce KtSymbolOrigin.SUBSTITUTION_OVERRIDE
...
^KT-52043
2022-06-24 10:41:05 +02:00
Ilya Kirillov
d8b88e9b69
[Analysis API] add testcases, add comments to tests
2022-06-22 09:31:48 +02:00
Ilya Kirillov
36f370f501
[Analysis API] add tests for KtTypeScope
2022-06-22 09:31:47 +02:00