Nikolay Krasko
355dca2a97
Add toString for KotlinStubBaseImpl
...
Try to simplify "Stub and PSI element type mismatch" exception analyze.
(cherry picked from commit 11aa71e)
2016-10-21 00:18:27 +03:00
Alexander Udalov
7eafae1936
Drop isAbsoluteInRootPackage from stubs
2016-06-01 19:30:04 +03:00
Dmitry Jemerov
009e3f9cd7
rename PSI classes according to current terminology:
...
KtMultiDeclaration(Entry) -> KtDestructuringDeclaration(Entry)
KtFunctionLiteralExpression -> KtLambdaExpression
KtFunctionLiteralArgument -> KtLambdaArgument
KtDelegationSpecifierList -> KtSuperTypeList
KtDelegationSpecifier -> KtSuperTypeListEntry
KtDelegatorToSuperClass -> KtSuperTypeEntry
KtDelegatorToSuperCall -> KtSuperTypeCallEntry
KtDelegationByExpressionSpecifier ->KtDelegatedSuperTypeEntry
2015-12-10 16:15:13 +01:00
Alexey Tsvetkov
5e90bafe18
Build stubs for modifiers
2015-10-19 20:45:02 +03:00
Michael Nedzelsky
a119a6bbeb
fix tests in org.jetbrains.kotlin.idea.decompiler.stubBuilder
2015-09-08 02:05:25 +03:00
Mikhail Glukhikh
414c44ade5
Make retention of 'kotlin.annotation.annotation' to SOURCE. Serialize / deserialize it instead. Some fixed tests.
2015-07-22 19:00:51 +03:00
Mikhail Glukhikh
37b2e97e56
Rendering changed: "annotation class" is now just "class" (with kotlin.annotation.annotation if it's kotlin annotation).
...
A swarm of tests fixed accordingly.
2015-07-14 16:25:08 +03:00
Pavel V. Talanov
07d35d305e
Create import list psi element even if no directives are present
...
Fix a problem where deleting last import directive via "optimize imports" could lead to incorrect psi structure resulting in CCE, see EA-64291
New imports are inserted at the head (after package directive if present) of the file (before any comments) if no imports were present
Add test for inserting import to file where a first statement is a comment
Drop code dealing with non-existing import list in ImportInsertHelperImpl
AbstractQuickFixTest: check for unexpected actions before changes to the file are made as it relies on the first line having specific format
2015-06-08 20:51:04 +03:00
Valentin Kipyatkov
8fd6a64be9
Refactored methods for val/var in PSI
2015-06-01 18:23:34 +03:00
Dmitry Jemerov
f61a4a15cc
rename "isTrait" to "isInterface": update test data
2015-04-29 16:50:20 +02:00
Valentin Kipyatkov
6a2cc66eb1
Got rid of isProbablyNothing in stubs + fixed exception on some files on indexing stubs
2015-04-02 10:10:31 +03:00
Valentin Kipyatkov
bff2b2f378
Fixed tests for stubs
2015-04-02 10:09:25 +03:00
Denis Zharkov
8e69c06e5a
Adjust stub-builder, decompiler and renderer to new PSI structure
...
of primary ctor
2015-03-31 20:20:22 +03:00
Pavel V. Talanov
6362336208
Test stubs for compiled Kotlin files
2014-12-21 14:23:26 +03:00