Jinseong Jeon
f5d2ce3022
AA: render containing file and JvmClassName
2023-12-21 15:34:34 +00:00
aleksandrina-streltsova
1c472c2751
[AA] update test data after adding properties to callable symbols
...
KT-54846
2023-07-24 17:24:42 +00:00
aleksandrina-streltsova
52a95cb75f
[AA] update test data after adding properties to KtClassLikeSymbol
...
KT-54846
2023-07-24 17:24:41 +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
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
Justin Paupore
eccbc66581
[AA] Add implementation for annotationApplicableTargets.
...
Adds implementation and tests for the new
KtClassOrObjectSymbol.annotationApplicableTargets property on
KtSymbolInfoProvider. This implementation delegates to the canonical
implementation in AnnotationChecker for FE1.0, and to the implementation
in FirAnnotationHelpers for FIR.
This change also includes direct tests for annotationApplicableTargets,
and a fix for FirClassLikeSymbol.getAllowedAnnotationTargets in
FirAnnotationHelpers.
2023-01-24 14:39:55 +01:00
Justin Paupore
3e80433356
[AA] Add stub annotationApplicableTargets extension.
...
Introduce an extension method to retrieve the set of applicable targets
for an annotation, given the annotation class's symbol.
This extension on `KtSymbolInfoProvider` causes a large amount of churn
in test data files, so this change starts off by introducing the
property and always making it return null. A future change will
introduce the actual behavior change, and will include the testdata
changes for the few tests that actually return useful data for this
property.
2023-01-24 14:39:54 +01: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
Ilya Kirillov
7766362ff1
[Analysis API] render full symbol in generatedPrimaryConstructorProperty in DebugSymbolRenderer
2022-10-26 19:19:04 +00:00
Ilya Kirillov
4bb32f4634
[Analysis API] render extra debug information for nested symbols if renders for outers
2022-10-26 19:19:02 +00:00
Ilya Kirillov
85effcc1b3
[Analysis API] do not fully print property symbols in tests
2022-10-26 19:19:02 +00:00
Dmitrii Gridin
6bf1cefba6
[AA] do not render redundant declarations for AbstractSymbolByPsiTest
...
^KT-54311
2022-10-17 14:59:52 +00:00
Dmitrii Gridin
c6742aa4c7
[K2 AA] DebugSymbolRenderer: render property symbol recursively
...
^KT-54311
2022-10-17 14:59:49 +00:00
Dmitrii Gridin
4ee5bf178c
[AA] DebugSymbolRenderer: render symbols recursively
...
^KT-54311
2022-10-17 14:59:47 +00:00
Ilya Kirillov
3e6de190e7
[Analysis API] update testdata after adding isNoinline/isCrossinline to the KtValueParameterSymbol
2022-07-05 10:34:29 +02:00
Ilya Kirillov
6a145b52aa
[Analysis API] update testdata after adding context receivers
2022-07-05 10:34:28 +02: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
Jinseong Jeon
889db4cc5d
AA: indicate whether a value parameter is an implicit lambda parameter
...
^KTIJ-18800 In progress
2022-04-21 19:18:25 +02:00
Ilya Kirillov
2cd0792e98
[analysis api, tests] actualize testdata with newly added getContainingModule
2022-04-13 12:53:25 +02:00
Tianyu Geng
9b05019137
FIR Analysis API: reimplement KtFirCallResolver with new data model
2021-12-06 12:40:43 +01:00
Ilya Kirillov
1d1f5ace8f
Analysis API: rename KtCallableSymbol.type -> returnType
2021-11-22 22:47:01 +01:00
Ilya Kirillov
e440c229f6
Analysis API: improve annotations value rendering in DebugSymbolRenderer
2021-11-22 22:47:00 +01:00
Ilya Kirillov
bdde70312d
Analysis API: update testdata after removing KtTypeAndAnnotations
2021-11-22 22:46:54 +01:00
Roman Golyshev
13e27a3e06
[FIR IDE] Get rid of KtPossiblyMemberSymbol::dispatchType
2021-11-15 14:36:35 +03:00
Yan Zhulanow
1272c6aa33
[FIR IDE] Update Analysis API test data, untie it from the FIR implementation
2021-10-20 19:41:25 +03:00
Tianyu Geng
43257f7688
FIR IDE: rename SymbolKind: MEMBER -> CLASS_MEMBER
2021-09-29 22:24:27 +02:00
Ilya Kirillov
42f0536904
FIR IDE: move analysis api fir testdata to the analysis directory
2021-09-15 11:32:43 +02:00