Stanislav Erokhin
66851c7afd
[Analysis API] Add KtReceiverParameterSymbol#correspondingSymbol
2022-06-27 19:32:44 +00:00
Ilya Kirillov
567cda9767
[Analysis API] cleanup the code
2022-06-24 11:11:24 +02:00
Ilya Kirillov
86605c066b
[Analysis API] move PSI utils to internal-utils module
2022-06-24 10:41:05 +02:00
Stanislav Erokhin
2234813363
[Analysis API] Add KtCallableMemberCall#typeArgumentsMapping
2022-06-23 07:50:21 +00:00
Stanislav Erokhin
8d8fc6e291
[Analysis API] Add type to KtReceiverValue
...
Maybe in the future we could remove type from the
KtImplicitReceiverValue, because it has ktSymbol, and in theory
that should be enough to create corresponding KtType.
Unfortunately that is not the case for KtClassOrObjectSymbol --
it doesn't have the API for "default" type creation currently.
Regarding code in KtFirCallResolver.kt -- it seems like code there
needs some love in the future. Psi created via custom code there,
because for call x() FIR has receiver x with psi = null
2022-06-23 07:50:21 +00:00
Kristoffer Andersen
3af0e57406
[FIR-IDE] Add DestructuringDeclarationEntry to SymbolProvider
2022-06-22 21:20:54 +02:00
Jinseong Jeon
b6371a5b9a
AA/FIR: differentiate dynamic type rendering
2022-06-22 20:14:39 +02:00
Jinseong Jeon
2d52c59bc7
AA: introduce KtDynamicType
2022-06-22 20:14:39 +02:00
Ilya Kirillov
d5113892df
[Analysis API FE10] fix CallableId for synthetic java property descriptors
2022-06-22 09:31:48 +02:00
Ilya Kirillov
f966959615
[Analysis API] disable not passing new Analysis API tests for FE10
2022-06-22 09:31:46 +02:00
Ilya Kirillov
ffdfa05015
[Analysis API] use existing test utilities for rendering
2022-06-22 09:31:45 +02:00
Ilya Kirillov
8ba7d41e00
[Analysis API] fix typo in class name
2022-06-22 09:31:44 +02:00
Ilya Kirillov
dafb132a17
[Analysis API] add few tests which checks contracts of signature substitutions
2022-06-22 09:31:43 +02:00
Ilya Kirillov
3525e42f11
[Analysis API] introduce substitutor builder
2022-06-22 09:31:43 +02:00
Ilya Kirillov
c95ac9f845
[Analysis API] add some basic tests for symbol substitution
2022-06-22 09:31:42 +02:00
Ilya Kirillov
7b1765cc8b
[Analysis API] introduce base KtTypeScope -> KtScope converter
2022-06-22 09:31:42 +02:00
Ilya Kirillov
edb6fc9531
[analysis api] move KtCallableSignature to a separate package
2022-06-22 09:31:41 +02:00
Ilya Kirillov
fdc008e8af
[analysis api] rename KtSignature -> KtCallableSignature
2022-06-22 09:31:40 +02:00
Ilya Kirillov
78c63c082b
[Analysis API] introduce API to work with signatures substitution
2022-06-22 09:31:39 +02:00
Ilya Kirillov
3033a91567
[analysis api] introduce KtTypeScope which will contain callable signatures
2022-06-22 09:31:38 +02:00
Ilya Kirillov
a10e55cd6a
[analysis api] remove KtClassKind.ENUM_ENTRY as enum entry is not a classifier
2022-06-22 09:31:36 +02:00
Ilya Kirillov
a16a01bf37
[analysis api] fix Analysis API contracts violation
2022-06-22 09:31:36 +02:00
Roman Golyshev
581ae5fcb7
[FIR IDE] Add a special type of KtCall for generic type qualifiers
...
^KTIJ-21672 Fixed
2022-06-14 15:00:13 +00:00
Mikhail Glukhikh
a31d383b4d
Analysis API: add implementation of ReadWriteAccessChecker via descriptors
2022-06-09 11:05:36 +00:00
Jinseong Jeon
c1b2469e51
AA: register CoreJavaFileManager
...
in a similar way
KotlinCoreEnvironment.ProjectEnvironment.registerJavaPsiFacade does
2022-06-09 10:35:17 +02:00
Nikolay Lunyak
98c7399a35
[FIR] Remove the redundant backing field check
...
This commit fixes a failing visibility check
(FirSymbolByPsiTestGenerated.testBackingField) for the backing field.
Merge-request: KT-MR-6389
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com >
2022-06-02 08:36:14 +00:00
Mikhail Glukhikh
a3db2e13b2
FE10 analysis API: render type parameter bounds as FIR does
2022-05-31 11:34:58 +00:00
Mikhail Glukhikh
8cb3081bbd
Analysis API: add KtReference..Provider to fix reference resolve in FE10
2022-05-31 11:34:56 +00:00
Mikhail Glukhikh
d67e910ee8
FE10 Analysis API: don't render override for deserialized
2022-05-31 11:34:55 +00:00
Mikhail Glukhikh
ef5cfab655
FE10 analysis API: don't count static members of final class as final
2022-05-31 11:34:53 +00:00
Mikhail Glukhikh
125de59e09
FE10 analysis API: create receiver parameter symbols for 'this'
2022-05-31 11:34:52 +00:00
Mikhail Glukhikh
d112ab3f17
FE10 analysis API: fix parentheses using while rendering receiver
2022-05-31 11:34:51 +00:00
Mikhail Glukhikh
564d179cfb
FE10 analysis API: fix flexible type pretty-printing
2022-05-31 11:34:50 +00:00
Mikhail Glukhikh
fa0faa33a5
FE10 analysis API: create package symbols properly
2022-05-31 11:34:49 +00:00
Mikhail Glukhikh
213445347d
Fix PsiType for local class in FE10 Analysis API
...
After this commit,
Fe10IdeNormalAnalysisSourceModuleAnalysisApiPsiTypeProviderTestGenerated
test group passes
2022-05-31 11:34:48 +00:00
Mikhail Glukhikh
ffc17bea55
Add SymbolLightClassFacadeCache to FE10 Analysis API configuration
2022-05-31 11:34:48 +00:00
Mikhail Glukhikh
8fce239209
Generate even more FE10 analysis API tests
2022-05-31 11:34:47 +00:00
Stanislav Erokhin
2deb0cc237
FIR/Analysis API: Add KtValueParameterSymbol#generatedPrimaryConstructorProperty
...
This property are used to allow access to the property created from
the primary constructor parameter
2022-05-30 18:39:21 +00:00
Ilya Kirillov
f189fd1ff0
[Analysis API] make KtDeclarationSymbol <: KtSymbolWithTypeParameters
...
To simplify work with type parameters
2022-05-27 16:39:37 +00:00
Jiaxiang Chen
866ebcfe2e
AA: make KtCallableSymbol a subtype of KtAnnotatedSymbol
2022-05-27 16:39:37 +00:00
Ilya Kirillov
500295da68
[references] move fe10 references implementation to another package
2022-05-27 15:37:40 +02:00
Ilya Kirillov
b511e449d2
[analysis api] temporary mute Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated
2022-05-27 15:37:39 +02:00
Tianyu Geng
010431e9e7
[Analysis API] Make a separate module for kt-reference-fe10
2022-05-27 15:37:37 +02:00
Tianyu Geng
19e9143bc1
[Analysis API] Move default annotation argument reference to kotlin repo
...
This reference is frontend-independent, so its implementation is placed
inside kt-references directly.
2022-05-27 15:37:36 +02:00
Tianyu Geng
a7c37286a3
[Analysis API] Move SyntheticPropertyAccessorReferenceDescriptorImpl
...
Also move some utilities from IDE to kotlin repo
2022-05-27 15:37:35 +02:00
Tianyu Geng
71a30b0c5e
[Analysis API] Move KDocReference to kotlin repo.
2022-05-27 15:37:34 +02:00
Tianyu Geng
0803ab0d0b
[Analysis API] Add KtFe10ReferenceResolutionHelper and ...
...
Make implementation of KtFe10XXXReference follow the old
descriptor-based implementation as closely as possible.
2022-05-27 15:37:33 +02:00
Tianyu Geng
b5139c958b
[Analysis API] Add KtReferenceMutateService...
...
and delegate renaming and rebinding to this new service for `KtReference`.
In addition, CliKtFe10XXXReference are all removed because it seems they are not necessary because the IDE flavor differs only by handling renaming, which is moved to a separate service.
2022-05-27 15:37:33 +02:00
Mikhail Glukhikh
49175f83aa
Analysis API FE10: fix delegated member rendering
...
After this commit,
Fe10IdeNormalAnalysisSourceModuleDelegateMemberScopeTestGenerated
passes properly
2022-05-25 12:04:59 +00:00
Mikhail Glukhikh
71b6151d51
KtFe10ScopeProvider: implement declared/delegated member scope
2022-05-25 12:04:58 +00:00