Pavel V. Talanov
5540f09751
Report default object specific diagnostics on 'default' modifier
2015-03-06 19:37:02 +03:00
Pavel V. Talanov
b51368a5e5
Fix cls builder for new decompiler
2015-03-06 19:36:58 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Dmitry Jemerov
28ed30bcb3
change KDoc parsing so that space after parameter/section name is not included in tag content; support @property tag in KDocFinder
2015-03-06 16:13:11 +01:00
Alexey Sedunov
5517c6c539
Extraction Engine: Report invisible types in the generated declaration header
...
#KT-6734 Fixed
2015-03-06 14:37:25 +03:00
Alexey Sedunov
cab301e8e2
Introduce Property: Add tests for default values
2015-03-06 14:37:21 +03:00
Alexey Sedunov
1202e624ce
Extraction Engine: Assume internal visibility for trait members
2015-03-06 14:37:20 +03:00
Alexey Sedunov
652253b485
Introduce Property: Forbid lazy properties/properties with initializers in traits
2015-03-06 14:37:18 +03:00
Alexey Sedunov
79b64c6f9f
Introduce Property: Add test for name clash in the presence of anonymous initializer (was failing before ElementResolver fix)
2015-03-06 14:37:17 +03:00
Alexey Sedunov
4aac24956c
Extraction Engine: Skip named argument references while analyzing extractable code
...
#KT-6896 Fixed
2015-03-06 14:37:16 +03:00
Evgeny Gerashchenko
c6352ec699
KT-6920 Reference this marked as deprecated if extension function is deprecated
...
#KT-6920 fixed
2015-03-06 13:43:03 +03:00
Nikolay Krasko
4d1c2ab0e3
Suppress action generally because of updated constant in action
2015-03-06 12:56:42 +03:00
Pavel V. Talanov
97989d174e
Update keyword completion test data
...
after introducing 'default' soft keyword
2015-03-06 12:43:29 +03:00
Evgeny Gerashchenko
8ba15937f9
KT-6820 Find usages doesn't find delegated properties when searching get/set/propertyDelegated functions
...
#KT-6820 fixed
2015-03-05 18:42:18 +03:00
Evgeny Gerashchenko
0a824edace
KT-6821 Go to reference on "by" keyword in delegated property doesn't navigate to propertyDelegated
...
#KT-6821 fixed
2015-03-05 18:42:18 +03:00
Evgeny Gerashchenko
056daeaadb
Don't mark parameters of get/set/propertyDelegated functions as unused.
...
#KT-5974 fixed
2015-03-05 18:42:16 +03:00
Evgeny Gerashchenko
7b6f83815c
Unified obtaining psi element for descriptor. Now code for finding effective descriptors of fake override and finding source element for original declarations are separated. Old method DescriptorToSourceUtils.descriptorToDeclaration is still there, because it has ~90 usages.
2015-03-05 15:19:29 +03:00
Nikolay Krasko
c75a7df926
Put reference to default object in default object extenstion call
2015-03-05 01:30:35 +03:00
Alexey Sedunov
5ae9bb600c
Introduce Property: Place property before its usages
2015-03-04 23:06:07 +03:00
Alexey Sedunov
6ae989e330
Introduce Property: Duplicate search & replace
2015-03-04 23:06:05 +03:00
Alexey Sedunov
5382504306
Extraction Engine: Support lazy properties and properties with initializer
2015-03-04 23:06:03 +03:00
Alexey Sedunov
03fada71d7
Introduce Property: Initial support (properties with getter)
2015-03-04 23:06:02 +03:00
Natalia Ukhorskaya
0391fbd764
Evaluate Expression: support anonymous objects evaluation
2015-03-04 12:42:59 +03:00
Pavel V. Talanov
48fbce9582
Refactor: process mentions of class object
...
Rename usages that refer to "default object" concept now
Test data file names are left as is
2015-03-03 20:57:08 +03:00
Valentin Kipyatkov
27f5d71e4f
Fixed bug in partial body resolve
2015-03-03 19:22:27 +03:00
Valentin Kipyatkov
5b4afa140b
Fixed bug in reference shortening related on on the fly import optimization
2015-03-03 13:41:32 +03:00
Valentin Kipyatkov
862d391da6
KT-6834 Optimize Imports: do not modify file if import list had not change
...
#KT-6834 Fixed
2015-03-03 13:41:32 +03:00
Valentin Kipyatkov
b0d82bef7d
Tested KT-2718 Package names that match Kotlin keywords should be escaped properly
2015-03-03 13:41:32 +03:00
Pavel V. Talanov
7cd68c70d2
Do not run unused symbol inspection on default objects for now
...
#KT-6872 Fixed
2015-03-03 13:04:33 +03:00
Pavel V. Talanov
4370b50841
Minor: change rendering of class objects' types in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov
cbf9208c1d
Minor: change rendering of class objects in source code renderers
...
Fixes one particular case in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov
cc90891b6c
Minor: change rendering of class objects in some diagnostics
2015-03-03 13:04:31 +03:00
Pavel V. Talanov
989f07962b
Write to trace in case class qualifier is a short reference to default object
...
This allows to fix some cases when there is a difference between explicit and short reference to default object
Fix shorten reference, optimize imports and import insert helper for default objects
ShortenReferences always transforms default object references to shorter form for now
Fix DescriptorUtils#getFqName() for default objects (affects test data mostly)
Fix DescriptorUtils#getImportableDescriptor()
2015-03-03 13:04:30 +03:00
Pavel V. Talanov
ffabe19229
Prohibit accessing nested classes/objects of class object using class literal
...
The fqname of class should be clear from code
Example: can't shorten A.Default.B.Default.C to A.B.C
Also fixes problem when nested class of enum class could be accessed via enum entry
2015-03-03 13:04:29 +03:00
Pavel V. Talanov
cceb5738c8
Can't omit default object name in imports and types
...
There should be only one way to denote a type (A.Default.B can't be denoted as A.B)
2015-03-03 13:04:28 +03:00
Pavel V. Talanov
640d2de5b9
Fix incorrect reference target for class literals in some cases
2015-03-03 13:04:27 +03:00
Dmitry Jemerov
6e29829891
add test which reproduces the problem
2015-02-27 20:55:34 +01:00
Dmitry Jemerov
1684248e97
Fix retrieving documentation for overridden methods.
...
(The test doesn't actually reproduce the problem because it can't be done in a single-file setup, but it verifies that the basic functionality continues to work.)
2015-02-27 20:10:37 +01:00
Yan Zhulanow
efff642635
Move Android IDEA plugin tests to android-idea-plugin module
2015-02-26 15:25:47 +03:00
Mikhail Mutcianko
2643866e31
add android find usages test
2015-02-26 15:25:37 +03:00
Mikhail Mutcianko
4145991bea
add android rename tests
2015-02-26 15:25:36 +03:00
Mikhail Mutcianko
65ef880dd3
add all goto tests
...
- fix base test case failing when no res directory present
- get rid of JetProperty -> XmlAttr caching
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko
04a905c35c
fix android kotlin test framework
...
- fix android jars not indexed by java indexer
- fix goto test
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko
1912b2b0ec
add android jps builder test stub
...
wtf
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko
7c4661aba5
add android goto declaration test stub
2015-02-26 15:25:34 +03:00
Mikhail Mutcianko
bc9e1ee2d2
fix android cross parser tests
...
- reorganize tests folder structure
- fix class attribute ignored in ide xml parser
2015-02-26 15:25:33 +03:00
Mikhail Mutcianko
adbe9afd4a
add android completion tests
...
- add android plugin test classes as test library
- add base android test cases for kotlin, setting up android facet and sdk
2015-02-26 15:25:32 +03:00
dedoz
f2ab424c41
add generated tests
2015-02-26 15:25:31 +03:00
dedoz
972e0f28d0
add android xml to properties completion test
2015-02-26 15:25:28 +03:00
Dmitry Jemerov
35e8e4d49a
Support spellchecking in Kotlin string literals; remove unused and unnecessary support for custom suppressions of spelling errors
2015-02-25 18:00:59 +01:00