Denis Zharkov
86c1dbe7b5
Fix decompilation of types based on local classifiers
...
If deserializing a type with arguments based on a local class for
decompiler, then just return Any type (without arguments).
Previously Any constructor was used with serialized arguments, that lead
to exception
Note that in case of deserialization for compiler nothing changes about
local-classes-based types (LocalClassifierResolverImpl is just inlined)
#KT-13408 Fixed
2016-09-05 17:54:36 +03:00
Nikolay Krasko
795fef20d7
Don't highlight declaration with WRAPPED_INTO_REF
...
Leave highlighting only for usage. This may allow to make highlighting more local and lazy.
Java follows the same rules for "Implicit anonymous class parameter".
2016-09-02 13:41:24 +03:00
Nikolay Krasko
52dd02fe08
Make changes in super call lambda not cause out-of-block modification (KT-13474)
...
#KT-13474 Fixed
2016-09-02 13:41:24 +03:00
Nikolay Krasko
82bcd8192b
Re-highlight only single function after local modifications
2016-09-02 13:41:24 +03:00
Nikolay Krasko
043502f836
Minor: remove warnings and refactoring
2016-09-02 13:41:24 +03:00
Valentin Kipyatkov
e363809b37
Minor changes
2016-08-31 19:12:29 +03:00
Valentin Kipyatkov
05fae1d4db
Optimization: don't search named arguments
2016-08-31 19:12:29 +03:00
Valentin Kipyatkov
29f61087ed
More correct down-shifting to plain search
2016-08-31 19:12:29 +03:00
Valentin Kipyatkov
6562412bda
Ignore usages in XML
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
06eea53246
Fixed bug with class using data class as type parameter in supers list
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
b332867b25
Use one KtDestructuringDeclarationReference per each entry - better highlight usages and other actions
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
9cd7e9d519
Down-shifting to plain search when operator usage search required
2016-08-31 19:12:28 +03:00
Valentin Kipyatkov
5682c917f9
Fixed infinite recursion
2016-08-31 19:12:27 +03:00
Valentin Kipyatkov
d2ee10daa5
Fixed typo
2016-08-31 19:12:27 +03:00
Valentin Kipyatkov
8bfc746f4b
Supported usage in super type list without parenthesis
2016-08-31 19:12:27 +03:00
Valentin Kipyatkov
5c1e42aa51
Class literal access supported
2016-08-31 19:12:27 +03:00
Valentin Kipyatkov
4cab04b24b
Callable references handled
2016-08-31 19:12:26 +03:00
Valentin Kipyatkov
6af9567527
Extracted method
2016-08-31 19:12:26 +03:00
Valentin Kipyatkov
450d0dd5d1
Supported access to companion object members
2016-08-31 19:12:26 +03:00
Valentin Kipyatkov
63d4491eb8
More actions logged in tests
2016-08-31 19:12:26 +03:00
Valentin Kipyatkov
724886c967
Better log
2016-08-31 19:12:25 +03:00
Valentin Kipyatkov
2ca163a375
Better testing via logging of performed operations
2016-08-31 19:12:23 +03:00
Valentin Kipyatkov
1e80ad3f98
Optimization
2016-08-31 19:12:23 +03:00
Valentin Kipyatkov
7a269a00af
SAM-adapters supported
2016-08-31 19:12:23 +03:00
Valentin Kipyatkov
d0d8ea7c69
Added TODO
2016-08-31 19:12:23 +03:00
Valentin Kipyatkov
1183816b52
Disabled smart search for classes from library
2016-08-31 19:12:23 +03:00
Valentin Kipyatkov
6f21c07b66
Added TODO
2016-08-31 19:12:22 +03:00
Valentin Kipyatkov
e00c8d6e05
"!is" in when case
2016-08-31 19:12:22 +03:00
Valentin Kipyatkov
5b3102058c
Handling of 2 more class of cases:
...
1. Function has parameter of functional type with our data class inside
2. Value of data class type used in a call with lambda
2016-08-31 19:12:22 +03:00
Valentin Kipyatkov
ca2cd3d656
this@ClassName supported
2016-08-31 19:12:22 +03:00
Valentin Kipyatkov
7687c1646b
Supported "is" in when entry condition
2016-08-31 19:12:21 +03:00
Valentin Kipyatkov
ecb1910bf2
Different modes of search
...
Down-shift to plain search in non-test mode if unknown reference encountered
Internal action to check search algorithm
2016-08-31 19:12:21 +03:00
Valentin Kipyatkov
d13cdc67f0
Supported usages as doc-comments
2016-08-31 19:12:21 +03:00
Valentin Kipyatkov
696f382291
Supported usages as destructuring declaration for other class
2016-08-31 19:12:21 +03:00
Valentin Kipyatkov
80520b44c0
Plain search inside members and extensions
2016-08-31 19:12:20 +03:00
Valentin Kipyatkov
3910f31de9
Correct processing of "is" check
2016-08-31 19:12:20 +03:00
Valentin Kipyatkov
25ab66053b
Added runReadAction (but it's incorrect anyway)
2016-08-31 19:12:20 +03:00
Valentin Kipyatkov
5d427d8d2e
Support for 'as' and temporary support for 'is'
2016-08-31 19:12:20 +03:00
Valentin Kipyatkov
1674beb64b
Initial implementation of faster component function usage search
2016-08-31 19:12:19 +03:00
Valentin Kipyatkov
0072bf079d
Changes on review of pull request
2016-08-29 13:38:17 +03:00
Simon Ogorodnik
9d56716897
#KT-9009 fixed
2016-08-29 13:38:16 +03:00
Dmitry Jemerov
9264c876f8
show primary constructor properties in project view when "Show members" is enabled
...
#KT-11776 Fixed
2016-08-25 14:19:59 +02:00
Dmitry Jemerov
3ec583bb16
show icon of class initializer
...
#KT-11775 Fixed
2016-08-25 14:19:59 +02:00
Dmitry Jemerov
8ff0814221
show local functions in structure view
...
#KT-13473 Fixed
2016-08-25 14:19:59 +02:00
Dmitry Jemerov
509142089c
KotlinStructureViewElement: cleanup after J2K
2016-08-25 14:19:59 +02:00
Dmitry Jemerov
50b1951746
KotlinStructureViewElement: J2K
2016-08-25 14:19:59 +02:00
Dmitry Jemerov
2ebacb6969
KotlinStructureViewElement: rename to .kt
2016-08-25 14:19:59 +02:00
Pavel V. Talanov
a683c2b68d
IntentionBasedInspection: Removing synchronizing on intention instances
...
Recreate intention instance in `buildVisitor`
Lock caused contention for UpSource
2016-08-19 18:54:15 +03:00
Alexey Sedunov
9fd61b869e
Find Usages: Do not duplicate containing declaration in super member warning dialog
...
#KT-10209 Fixed
2016-08-18 19:15:40 +03:00
Alexey Sedunov
f6de6eac09
Rename: Do not search for component convention usages
...
#KT-9381 Fixed
2016-08-18 19:15:34 +03:00