Roman Golyshev
9702b97d8d
[kotlin] KTIJ-23832 Select proper argument for Kotlin annotations in KtDefaultAnnotationArgumentReference
...
Kotlin annotations can be called without named parameters even if their
names are different from `value`. So there's no need to search for the
property named "value", since there might be none
2022-12-12 14:13:42 +01:00
Vladimir Dolzhenko
ebf24c2d24
Add default impl of getCanonicalText
...
#KTIJ-11270
2022-12-02 18:28:41 +00:00
Dmitriy Novozhilov
7ef81c27df
[AA] Make KotlinReferenceProvidersService and KotlinReferenceProviderContributor a project services
...
There is no need to have those services on application level
2022-09-15 17:27:20 +03:00
Dmitry Gridin
8dbdea39da
[analysis] remove redundant diagnostic suppression
2022-08-15 11:04:58 +02:00
Dmitry Gridin
1708b4fe48
[light classes] move light-classes-base module to analysis
...
^KT-53097
2022-08-01 13:56:34 +00:00
Yan Zhulanow
0c001cc993
Fix unstable reference provider ordering in IDE's KtIdeReferenceProviderService
...
As a result of unstable reference provider ordering, order of references in 'PsiElements' vary each IDE restart.
It directly affects the 'getReference()' method which returns the first available reference.
2022-07-25 07:35:39 +00:00
Dmitry Gridin
248811e729
[light classes] replace light class dependency from analysis.kt-references.kt-references-fe10 to light-classes-base
...
^KT-53097
2022-07-19 15:41:59 +00:00
Dmitry Gridin
807a269f09
[light classes] replace light class dependency from analysis.kt-references to light-classes-base
...
^KT-53097
2022-07-19 15:41:58 +00:00
Mikhail Glukhikh
a31d383b4d
Analysis API: add implementation of ReadWriteAccessChecker via descriptors
2022-06-09 11:05:36 +00:00
Mikhail Glukhikh
0ee04d0825
FE10 analysis API: revert resolving 'this' references to receivers
...
FE10 IDE plugin relies on resolving 'this' references to class or callable
2022-06-03 16:25:44 +00:00
Mikhail Glukhikh
d792c7b70c
Reference analysis API: add stub for ReadWriteAccessChecker to run tests
2022-05-31 11:34:57 +00:00
Mikhail Glukhikh
1ae71a20f3
FE10 analysis API: support reference resolve for labels & 'this'
2022-05-31 11:34:56 +00:00
Ilya Kirillov
500295da68
[references] move fe10 references implementation to another package
2022-05-27 15:37:40 +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
Mads Ager
a398f7d6cb
Rename kt-reference module to kt-references.
2022-02-07 15:01:24 +01:00