Commit Graph

1709 Commits

Author SHA1 Message Date
Valentin Kipyatkov 215b870946 Added TODO 2016-09-08 16:11:10 +03:00
Valentin Kipyatkov dd6b5ab5a7 Used analyze to multiple elements for copy/paste 2016-09-08 16:11:10 +03:00
Valentin Kipyatkov 5a5a6d47b3 Minor 2016-09-08 16:11:09 +03:00
Valentin Kipyatkov bcfa31de2b Implemented ability to analyze to multiple elements at once 2016-09-08 16:11:09 +03:00
Valentin Kipyatkov 73828d1411 Renamed file 2016-09-07 19:04:49 +03:00
Valentin Kipyatkov 6d028fbcce Supported object value access expressions 2016-09-07 19:04:48 +03:00
Valentin Kipyatkov e8471b4f32 Added TODO 2016-09-07 19:04:48 +03:00
Valentin Kipyatkov 77dfbda389 Added progress when searching invoke() by plain search 2016-09-07 19:04:48 +03:00
Valentin Kipyatkov b1a6255ac2 Renamed class 2016-09-07 19:04:47 +03:00
Valentin Kipyatkov 29831f648d Added @TestOnly 2016-09-07 19:04:47 +03:00
Valentin Kipyatkov 5b638f51b0 Down-shift to plain search if reference in unknown language encountered 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov e314e22215 Minor refactoring 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov 63ed93d1ac Minor optimization 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov a6a7075568 Fixed the case of public from private class inheritance in Java 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov 904017eaff Covered case when variable of our type is multi-declaration entry 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov 7b907e6518 Added comments 2016-09-07 19:04:45 +03:00
Valentin Kipyatkov 4e0c3fcee7 Refactored reference searches to take read-actions when necessary 2016-09-07 19:04:45 +03:00
Valentin Kipyatkov 843ff15943 Fixed assertion about read-action 2016-09-07 19:04:44 +03:00
Valentin Kipyatkov d7a94ac470 Fixed find usages for Java's invoke() 2016-09-07 19:04:44 +03:00
Valentin Kipyatkov 478556890a KT-13605 Find Usages fails to find usages of component function defined in Java
#KT-13605 Fixed
2016-09-07 19:04:44 +03:00
Valentin Kipyatkov 0158ff46f3 Fixed operator references search for functions declared in Java 2016-09-07 19:04:43 +03:00
Valentin Kipyatkov f6fbd0b623 Fast search of contains operator 2016-09-07 19:04:43 +03:00
Valentin Kipyatkov 5ce780cafc Optimization 2016-09-07 19:04:43 +03:00
Valentin Kipyatkov 0f32574be0 Fast get/set operators search 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov eeea85c86a Fast search of assignment operations 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov cdf328475e Fast unary operators search 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov 322df5b348 More correct operator treatment 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov 43f8fbea2b More information in log 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov e1c1c5fb59 Minor change in log 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov 8fd9b4a87b More information in log 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov 1ca698cfc4 Implemented fast search for binary operators 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov f2c0d131e4 Refactored to avoid code duplication 2016-09-07 19:04:40 +03:00
Valentin Kipyatkov e3b37f9219 Implemented fast search for invoke operator calls
#KT-13643 Fixed
2016-09-07 19:04:40 +03:00
Valentin Kipyatkov e1c7d07189 Refactored component usages search extracted search for expressions of given type 2016-09-07 19:04:40 +03:00
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