Commit Graph

107 Commits

Author SHA1 Message Date
Nicolay Mitropolsky a616f6cca9 Uast: implicit receiver for local function calls (KT-25524) 2018-07-17 21:41:03 +03:00
Nicolay Mitropolsky 5212728a82 Uast: implicit receiver for function variables calls (KT-25524) 2018-07-17 21:41:03 +03:00
Yan Zhulanow 06af2a88f0 Uast: Move all IDE-related code to uast-idea, get rid of the 'idea' dependency
Uast is used in the CLI version of Android Lint so 'uast-kotlin' should run correctly even without IDE.
2018-07-12 20:36:39 +03:00
Nicolay Mitropolsky be8740e0ee 172: KotlinUastApiTest.kt compilation fix 2018-07-10 10:28:30 +03:00
Nicolay Mitropolsky dd0e3cd135 Uast: ULambdaExpression returns proper functionalInterfaceType for SamAdapterExtensionFunctionDescriptor (KT-25297) 2018-07-09 19:41:07 +03:00
Nicolay Mitropolsky 2c7687195c Uast: properly handling explicit SAM (KT-25297) 2018-07-09 19:41:07 +03:00
Nicolay Mitropolsky 38e2d474b7 Uast: create KotlinULambdaExpression for in-place lambdas (KT-25297)
and provide appropriate functionalInterface
2018-07-09 19:41:07 +03:00
Nicolay Mitropolsky bef3d4ace2 Uast: proper identifiers for KotlinUBinaryExpression (KT-25092) 2018-06-26 16:39:47 +03:00
Nicolay Mitropolsky 01e9dd5085 don't use project scope to resolve java.lang.String (#KT-25024) 2018-06-22 20:28:55 +03:00
Nicolay Mitropolsky 12707a6443 Uast: handling resolve to deserialized methods (KT-24679) 2018-06-06 14:05:30 +03:00
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
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 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 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
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
Nicolay Mitropolsky 83573ed517 181: Uast: more implementations of UCallExpressionEx 2018-04-12 10:29:07 +03:00
Nicolay Mitropolsky 8cde41850e 181: Uast: support for object literals 2018-04-11 16:28:32 +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 96ac913a6d 181: Uast: parents for UIdentifiers from toUElement 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 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
Vyacheslav Gerasimov e72007901a 172: Revert "UAST: override getFunctionalInterfaceType + test"
This reverts commit 92c23aa
2018-04-11 16:28:10 +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
Nikolay Krasko 633eafb902 172: Revert "Uast: WrappedUAnnotation as replacement for usage of JavaUAnnotation (KT-21025)"
This reverts commit 9701403889fbed93d9ea1e8fa4df58c720b3be72.
2018-04-11 16:28:06 +03:00
Nikolay Krasko f9af79c6d9 172: Revert "Uast: no more need to exclude UIdentifier from JvmDeclarationUElement check"
This reverts commit a92791a1f3cdec9ece602c5778eb04d5ffbd7505.
2018-04-11 16:28:05 +03:00
Pavel V. Talanov 32516a3f33 Refactor: split *LightClassGenerationSupport into separate files
Move cli binding trace implementation to top level
2018-03-12 12:05:05 +01:00
Nicolay Mitropolsky 795516269d Uast: don't run resolve if not inside KtFile 2018-02-27 11:22:40 +03:00
Yan Zhulanow 03a20384ef Uast: Fix an exception while converting type alias KotlinType to PsiType (KT-21874) 2018-02-08 19:36:37 +03:00
Nicolay Mitropolsky 91a4bbed2e Uast: KotlinUNestedAnnotation with light annotation (IDEA-185890) 2018-02-07 10:17:40 +03:00
Nicolay Mitropolsky 48ea52def1 Uast: KotlinUNestedAnnotation for processing nested annotations (IDEA-185890) 2018-02-07 10:17:40 +03:00
Nicolay Mitropolsky 8ac95b54a2 Uast: support for Kotlin array literals 2018-02-06 17:53:17 +03:00
Nicolay Mitropolsky 2623ae714c Uast: consistency updates for ULambdaExpression 2018-01-19 10:45:58 +03:00
Nicolay Mitropolsky 25cd54713b Uast: consistency for imports-expressions 2018-01-19 10:45:58 +03:00
Nicolay Mitropolsky d5d49c65b4 Uast: tests for UClass.uastSuperTypes 2018-01-19 10:45:58 +03:00
Nicolay Mitropolsky b4db744a9b Uast: KotlinStringULiteralExpression.getExpressionType() made always return String 2018-01-16 20:38:00 +03:00
Yan Zhulanow 2ee23ddd02 EA-101715: Handle also case with IntegerValueTypeConstructor 2018-01-15 12:39:35 +09:00