Nicolay Mitropolsky
8e2c9358bc
Uast: updates for consistency tests and fixes for missed things
...
we should use `sourcePsi` instead of `psi` for parents matching, because light `psi` will not be tested, and it is not enough to store only PSI as map key to match parent consistency, because some different UElements could have same sourcePsi.
2018-05-29 13:30:52 +03:00
Nicolay Mitropolsky
eea66bea73
Making LightAnnotation work without clsDelegate (KT-20924, KT-22883)
2018-05-28 17:06:35 +03:00
Nicolay Mitropolsky
05be8f7536
UastKotlinPsiVariable: hashCode nullability fix (EA-119715)
2018-05-11 12:57:23 +03:00
Vyacheslav Gerasimov
ab25145458
as32: Restore uast to 181 platform state
2018-05-10 23:28:41 +03:00
Nicolay Mitropolsky
cf43be9fa3
UAST: replacing deprecated JvmDeclarationUElement with JvmDeclarationUElementPlaceholder (#KT-23887)
...
To make it possible to delete `JvmDeclarationUElement` in IDEA-182
2018-05-08 15:21:13 +03:00
Mikhail Zarechenskiy
37a8844050
Update bunch files for kotlinInternalUastUtils
...
After 5815e790ba and d6405c8147
2018-05-08 12:03:17 +03:00
Vyacheslav Gerasimov
e6f64519e4
Build: Copy uast to idea plugin as separate artifacts
2018-05-08 00:24:22 +03:00
Mikhail Zarechenskiy
5815e790ba
Minor, use utility to get default type for number type constructor
2018-05-03 11:04:55 +03:00
Mikhail Zarechenskiy
d6405c8147
Fix exception on mapping internal types to UAST types with NI
...
#EA-119071 Fixed
2018-05-03 11:04:54 +03:00
Nikolay Krasko
c83ff5e75f
Remove files introduced in 181 from 173 branch
2018-04-27 19:45:23 +03:00
Vyacheslav Gerasimov
8c88ac69df
Cleanup .181 bunch files
2018-04-27 18:25:21 +03:00
Vyacheslav Gerasimov
bc403ce744
Switch to 181 platform
2018-04-27 18:25:17 +03:00
Nicolay Mitropolsky
efdc5701d9
Uast: removing SimpleKotlinRenderLogTest.kt.181
2018-04-24 12:35:26 +03:00
Mikhail Glukhikh
3351b00870
SimpleKotlinRenderLogTest: delete identical branch file (AS32)
2018-04-24 10:31:59 +03:00
Mikhail Glukhikh
f9858bf597
SimpleKotlinRenderLogTest: add (forgotten) changes into branches
2018-04-24 10:30:10 +03:00
Mikhail Glukhikh
00a9dea7cb
KotlinAbstractUElement+KotlinUElementWithComments(172): add imports
2018-04-21 11:04:13 +03:00
Mikhail Glukhikh
5dd7ff4d7f
Up KotlinAbstractUElement / UElementWithComments / UVariable in branches
2018-04-20 21:29:55 +03:00
Mikhail Glukhikh
3e1d05f146
Update KotlinUMethod for 172/181/as32 branches
2018-04-20 21:23:05 +03:00
Mikhail Glukhikh
a25e971d19
UAST: property delegates consistency #KT-22527 Fixed
2018-04-20 20:39:56 +03:00
Mikhail Glukhikh
f179b2ba13
Test for KT-22527
2018-04-20 20:39:54 +03:00
Mikhail Glukhikh
29c16f9561
Improve KotlinUElementWithComments & use it in most KotlinUElements
...
Related to KT-22135
2018-04-20 20:39:45 +03:00
Nikolay Krasko
9bce8759bb
Remove accidentally added *.173.as32 files
2018-04-16 15:55:53 +03:00
Nikolay Krasko
ecd2db3b48
Remove bunch files that are equal to base files
2018-04-16 15:55:53 +03:00
Vyacheslav Gerasimov
8efee7bd9c
as32: Revert uast to the state of idea 173, AS 3.2 C10 has uast from idea 173
2018-04-13 21:33:15 +03:00
Vyacheslav Gerasimov
a6bd0f618e
as32: Remove platform-api & platform-impl from build scripts
...
since they are not present in AS 3.2 C10
2018-04-13 21:33:14 +03:00
Nicolay Mitropolsky
83573ed517
181: Uast: more implementations of UCallExpressionEx
2018-04-12 10:29:07 +03:00
Nicolay Mitropolsky
44a37f5dad
181: Uast: KotlinAccessorCallExpression.methodIdentifier fix
2018-04-11 16:28:36 +03:00
Nicolay Mitropolsky
7e5b417955
181: Uast: don't use com.intellij.psi.util.parentOfType (KT-22734)
2018-04-11 16:28:32 +03:00
Nicolay Mitropolsky
8cde41850e
181: Uast: support for object literals
2018-04-11 16:28:32 +03:00
Nicolay Mitropolsky
036c0fd6a4
181: Uast: fixes for non-leaf identifiers
2018-04-11 16:28:32 +03:00
Nicolay Mitropolsky
8a4ef83b3d
181: Uast: identifiers testdata updates
2018-04-11 16:28:31 +03:00
Nicolay Mitropolsky
f40ea754cb
181: Uast: identifiers fixes for KotlinUFunctionCallExpression and AbstractKotlinUVariable
2018-04-11 16:28:31 +03:00
Nicolay Mitropolsky
8ce65dc715
181: Uast: weak consistency check and fixes for UIdentifiers
2018-04-11 16:28:31 +03:00
Nicolay Mitropolsky
224480ac5e
181: UAST: UAnchorOwner and type-specific javaPsi support
2018-04-11 16:28:30 +03:00
Nicolay Mitropolsky
ffe33844b7
181: compilation fix: KotlinCallerChooser and KotlinAwareMoveClassesOrPackagesToNewDirectoryDialog
2018-04-11 16:28:30 +03:00
Nicolay Mitropolsky
e48b905075
181: Uast: getArgumentForParameter(i: Int) implementation for Kotlin (IDEA-184046)
2018-04-11 16:28:29 +03:00
Nicolay Mitropolsky
1507eed1cf
181: Uast: Constructors.identifiers.txt testdata fix
2018-04-11 16:28:29 +03:00
Vyacheslav Gerasimov
a0e20eefc6
181: Fix dependencies for 181
2018-04-11 16:28:29 +03:00
Nicolay Mitropolsky
96ac913a6d
181: Uast: parents for UIdentifiers from toUElement
2018-04-11 16:28:28 +03:00
Nicolay Mitropolsky
984c2329b4
181: Uast: KotlinUIdentifier almost everywhere (KT-21688)
2018-04-11 16:28:28 +03:00
Nicolay Mitropolsky
9efa79f352
181: Uast: KotlinUIdentifier introduced to store proper sourcePsi (KT-21688)
2018-04-11 16:28:28 +03:00
Nicolay Mitropolsky
6ce2c079a7
181: UAST: lazy computation made SYNCHRONIZED in UAST
...
because of UElement caching in platform, which leads to multithreaded usage
2018-04-11 16:28:25 +03:00
Nikolay Krasko
ef6c8c6a10
172: Revert "UAST: support for JvmDeclarationUElement"
...
This reverts commit db6a2390a22d4b35246cc4c6d246a5d7752f3506.
2018-04-11 16:28:12 +03:00
Nicolay Mitropolsky
18198ee33c
172: Uast-revert: test-data-revert
2018-04-11 16:28:11 +03:00
Nicolay Mitropolsky
a15d48c444
172: Uast-revert: reverting to previous rebase state
2018-04-11 16:28:11 +03:00
Nicolay Mitropolsky
c6bb0ad712
172: Uast-revert: AbstractKotlinRenderLogTest
2018-04-11 16:28:11 +03:00
Nicolay Mitropolsky
8c7269ea9a
172: KotlinUCollectionLiteralExpression: remove override modifier
2018-04-11 16:28:11 +03:00
Vyacheslav Gerasimov
e72007901a
172: Revert "UAST: override getFunctionalInterfaceType + test"
...
This reverts commit 92c23aa
2018-04-11 16:28:10 +03:00
Vyacheslav Gerasimov
8d3f71a04f
172: Revert "Quick Fixes: Support cross-language "Create from Usage" with Kotlin target"
...
This reverts commit 908bf71
2018-04-11 16:28:09 +03:00
Nikolay Krasko
9de5b83f6e
172: Revert "UAST: Properly handle annotations on local variables"
...
This reverts commit 70de7cff5e23abf723009c8df8bc2df2f646a675.
2018-04-11 16:28:08 +03:00