Andrey Zinovyev
c8fa8b0444
[lombok] Don't fail on fake overrides
...
#KT-47455 Fixes
2021-06-27 13:46:09 +03:00
Nikita Bobko
938cd955e1
Remove :idea prefix in IDE FIR modules which are going to stay in kotlin repo
...
This commit fixes not possibility to build project with `disableKotlinPluginModules`
flag on because Gradle tries to resolve `:idea` module which is disabled
2021-06-22 03:06:16 +03:00
Jinseong Jeon
bc09d94717
FIR UAST: running resolve API tests for both plugins
2021-06-21 13:49:47 +03:00
Jinseong Jeon
610b68c29d
FIR/UAST: commonize expressions with label
2021-06-21 13:49:46 +03:00
Jinseong Jeon
fa613a32b2
FIR/UAST: commonize safe qualified expression
2021-06-21 13:49:45 +03:00
Jinseong Jeon
2999d0bd4b
FIR/UAST: commonize double colon expressions
2021-06-21 13:49:44 +03:00
Jinseong Jeon
77e8aed995
FIR/UAST: move multi resolve utils/APIs to the base module/service
2021-06-21 13:49:42 +03:00
Jinseong Jeon
e870bf7399
FIR/UAST: commonize simple reference expression
2021-06-21 13:49:41 +03:00
Jinseong Jeon
4ec745abd7
FIR: relax simple type requirement in AbstractTypeMapper
...
The counterparts in old FE don't have such restriction, so it can
map a type that has a flexible type as a type argument to JVM type,
e.g., Stream<String..String?>
2021-06-21 13:49:40 +03:00
Jinseong Jeon
08e486d1a7
FIR/UAST: commonize dot qualified expression
2021-06-21 13:49:39 +03:00
Ilya Kirillov
f00170eb31
FIR IDE: add missing runtime dependencies for tests
2021-06-21 02:50:11 +02:00
Jinseong Jeon
833761ac3c
FIR IDE/UAST: add KtCompileTimeConstantProvider with evaluate API
2021-06-19 21:58:41 -07:00
Jinseong Jeon
cda1a7edbe
FIR/UAST: commonize UAnnotationMethod
2021-06-19 11:39:46 +02:00
Jinseong Jeon
638b0beadb
FIR UAST: unify UMethod creation
2021-06-19 11:39:46 +02:00
Jinseong Jeon
5ec5b7f041
FIR/UAST: commonize constructor declarations
2021-06-19 11:39:45 +02:00
Jinseong Jeon
cbaa645dbe
FIR/UAST: commonize base UMethod
2021-06-19 11:39:45 +02:00
Jinseong Jeon
4a06ca637a
FIR/UAST: commonize anonymous UClass
2021-06-19 11:39:45 +02:00
Jinseong Jeon
3bd4cb274d
FIR/UAST: commonize invalid UClass
2021-06-19 11:39:44 +02:00
Jinseong Jeon
1749c90083
FIR/UAST: commonize base UClass (with bogus annotation abstraction)
2021-06-19 11:39:44 +02:00
Jinseong Jeon
06c20bb10e
FIR/UAST: commonize abstraction of Kotlin UClass
2021-06-19 11:39:43 +02:00
Jinseong Jeon
0c011f4e73
UAST: place method declarations together
2021-06-19 11:39:43 +02:00
Jinseong Jeon
beddf03f74
FIR/UAST: convert annotation via base converter
2021-06-19 11:39:42 +02:00
Jinseong Jeon
33ff90a6da
FIR/UAST: commonize named/vararg expressions
2021-06-19 11:39:42 +02:00
Jinseong Jeon
dcf99e9fd1
UAST: delete redundant file
...
This is rather a test input, and indeed there is testData/Suspend.kt
2021-06-19 11:39:42 +02:00
Jinseong Jeon
4e4b104488
FIR/UAST: commonize expression list
2021-06-19 11:39:41 +02:00
Jinseong Jeon
2e58b57db9
UAST: remove redundant override: expression list's evaluate()
...
The super function in `KotlinEvaluatableUElement` is almost same,
except for handling of `UnsignedErrorValueTypeConstant`.
Such handling was added later, so I assume the addition to this override
was missed. In any cases, this override is unnecessary.
2021-06-19 11:39:41 +02:00
Jinseong Jeon
31d1c002c5
FIR UAST: implement constructors/delegations
...
But, the logic is identical to the counterpart in FE1.0 UAST
Many declaration abstractions, such as (primary|secondary) constructor
methods and class, are very similar, and thus can be commonized soon
once the remaining parts (in particular, annotations) are done.
2021-06-19 11:39:40 +02:00
Vyacheslav Gerasimov
58f1fb644f
Build: Stop publishing jars with original classifier
...
#KTI-580
2021-06-17 19:43:10 +03:00
Jinseong Jeon
0db510ad8b
FIR IDE/UAST: introduce UAST-specific version of analyse
2021-06-13 00:10:46 +03:00
Jinseong Jeon
1517fd0ca0
FIR/UAST: commonoize array access expression
2021-06-13 00:10:45 +03:00
Jinseong Jeon
ef8eddf1da
FIR UAST: add array access tests
2021-06-13 00:10:44 +03:00
Jinseong Jeon
9a539aac7d
FIR/UAST: commonize binary expression with type
2021-06-13 00:10:43 +03:00
Jinseong Jeon
b2e644b485
FIR/UAST: commonize type check expression
2021-06-13 00:10:41 +03:00
Jinseong Jeon
6e0f755b39
UAST: migrate kinds constants to the base module
2021-06-13 00:10:39 +03:00
Jinseong Jeon
47ede5bdc8
FIR IDE/UAST: get PsiType from KtTypeReference
2021-06-13 00:10:38 +03:00
Jinseong Jeon
a3710bed6a
FIR/UAST: commonize type reference expression
2021-06-13 00:10:37 +03:00
Jinseong Jeon
517fd24f14
UAST: unify implementation/creation of type reference expression
2021-06-13 00:10:36 +03:00
Jinseong Jeon
fa36098214
FIR IDE/UAST: get PsiType from KtExpression
2021-06-13 00:10:34 +03:00
Jinseong Jeon
8977e7766b
FIR/UAST: commonize throw expression
2021-06-12 16:00:43 +02:00
Jinseong Jeon
c21fce6cbc
FIR/UAST: commonize parenthesized expression
2021-06-12 16:00:42 +02:00
Jinseong Jeon
c089b8ed04
FIR/UAST: commonize labeled expression
2021-06-12 16:00:41 +02:00
Jinseong Jeon
6e1b04e4c9
FIR/UAST: commonize if expression
2021-06-12 16:00:40 +02:00
Jinseong Jeon
50f750187b
FIR/UAST: commonize loop/break/continue expressions
2021-06-12 16:00:39 +02:00
Jinseong Jeon
1146f60db3
FIR/UAST: commonize block and return expressions
2021-06-12 16:00:37 +02:00
Jinseong Jeon
16b3d2110e
FIR/UAST: commonize literal expressions
2021-06-12 16:00:36 +02:00
Jinseong Jeon
6b5bddeed7
FIR/UAST: commonize KotlinEvaluatableUElement
2021-06-12 16:00:35 +02:00
Jinseong Jeon
ce10410aba
FIR UAST: refactor FE1 UAST tests
2021-06-12 16:00:34 +02:00
Jinseong Jeon
e1a99ede09
FIR UAST: introduce values tests
2021-06-12 16:00:32 +02:00
Jinseong Jeon
cf2f36fa49
UAST: utilize values test base
2021-06-12 16:00:31 +02:00
Jinseong Jeon
d17dd4a1e6
FIR/UAST: commonize KotlinUElementWithType
2021-06-12 16:00:30 +02:00