Commit Graph

166 Commits

Author SHA1 Message Date
Alexey Sedunov 70b202dfa6 Extract Function: Do not extract extension receiver from 'implicit invoke'
call
 #KT-6302 Fixed
2015-01-19 20:58:54 +03:00
Alexey Sedunov d54b261c61 Extract Function: Fix 'this' label (extension case)
#KT-5456 Fixed
2015-01-19 20:58:53 +03:00
Alexey Sedunov 8d40ca1a74 Extract Function: Merge jumps with default exits if all exit points are equivalent
#KT-6598 Fixed
2015-01-19 20:58:51 +03:00
Alexey Sedunov 9278dee1a4 Pseudocode: Bind nondeterministic jump caused by local declaration to declaration iself instead of its parent element
#KT-6261 Fixed
 #KT-6416 Fixed
2015-01-19 20:58:50 +03:00
Valentin Kipyatkov c915eb4eac KT-6566 Generate Override/Implement method does not work for locally declared classes
#KT-6566 Fixed
2015-01-14 20:59:23 +03:00
Alexey Sedunov 86d5bd9365 Extract Function: Do not suggest "unit" as function name
#KT-6402 Fixed
2015-01-12 22:55:33 +03:00
Alexey Sedunov 64ddd52e60 Extract Function: Fix type candidates for parameters with flexibly nullable types
#KT-6546 Fixed
2015-01-12 22:55:32 +03:00
Alexey Sedunov 59d646bc16 Extract Function: Generate function in property's enclosing declaration if original expression belongs to initializer of that property
#KT-6290 Fixed
2015-01-12 22:55:30 +03:00
Nikolay Krasko 31de60738a Temporary allow import 2014-12-31 21:56:20 +03:00
Valentin Kipyatkov 1f17d7adcd Changed language sematics: imports with '*' do not import packages anymore 2014-12-26 15:45:01 +03:00
Alexey Sedunov c7a71827a7 Introduce Variable: Amend semicolons to updated expression
#KT-2098 Fixed
2014-12-25 17:12:16 +03:00
Natalia Ukhorskaya a894979c81 Extract function: add default name for parameter 2014-12-24 13:48:16 +03:00
Alexey Sedunov 367b99a156 Extraction refactorings: Do not suggest extraction of type elements
#KT-3994 Fixed
2014-12-23 20:43:23 +03:00
Alexey Sedunov 1e5769acfd Introduce Variable: Remove braces from replaced string template entries when possible
#KT-5310 Fixed
2014-12-23 20:43:22 +03:00
Alexey Sedunov 82579f489b Introduce Variable: Convert property accessor body to block when needed 2014-12-23 20:43:20 +03:00
Alexey Sedunov e76792d4f2 Introduce Variable: Do not delete original expression if its value is used in enclosing expression 2014-12-23 20:43:18 +03:00
Alexey Sedunov 6084352d37 Introduce Variable: Properly convert function body to block when needed
#KT-5353
2014-12-23 20:43:17 +03:00
Alexey Sedunov a9a30a1b7d PSI Pattern Matching: Respect type arguments when matching calls
#KT-6496 Fixed
2014-12-23 20:43:15 +03:00
Alexey Sedunov ec608c5db2 Change Signature: Retain formatting of existing parameters when parameter count/order changes
#KT-6412 Fixed
2014-12-18 21:06:15 +03:00
Alexey Sedunov bbf951ff03 Move: Fix reference binding for the case of default target package
#KT-6457 Fixed
2014-12-15 20:43:00 +03:00
Alexey Sedunov bbbd46d9d6 Move: Do not add package directive if target package is empty
#KT-6455 Fixed
2014-12-15 20:42:59 +03:00
Svetlana Isakova 9a5c293b6d Fixed NameSuggester tests 2014-12-12 23:08:30 +03:00
Svetlana Isakova cddaf89ee8 Simplified NameSuggester; added test 2014-12-12 23:08:30 +03:00
Alexey Sedunov 14b33f8b95 Change Signature: Do not report conflict of object member with itself (available through the class object)
#KT-6345 Fixed
2014-12-11 17:50:31 +03:00
Alexey Sedunov 6bbe9b2bfe Change Signature: Add test for KT-6410 (Change signature on constructor inserts fqName for newly added parameter type) 2014-12-11 17:50:29 +03:00
Alexey Sedunov 8cc3af99a0 Change Signature: Retain parameter modifier list 2014-12-11 17:50:27 +03:00
Alexey Sedunov c917459926 Change Signature: Add support of type parameter substitutions in overriding members 2014-12-08 16:30:07 +03:00
Alexey Sedunov 250940c824 Change Signature: Propagate nullability annotations to overriding methods in Java 2014-12-08 16:30:05 +03:00
Alexey Sedunov c9873428de Change Signature: Update signatures of lambdas passed to SAM constructors 2014-12-08 16:30:04 +03:00
Alexey Sedunov c6541ccc6f Change Signature: Do not insert new-lines between parameters (to be fixed later at the formatter level) 2014-12-08 16:30:02 +03:00
Alexey Sedunov 591c409854 Change Signature: Process Kotlin-based usages when changing signature of the Java function 2014-11-26 13:07:38 +03:00
Alexey Sedunov 1008225116 Change Signature: Processing of non-Kotlin usages
#KT-5810 Fixed
 #KT-4187 Fixed
2014-11-26 13:07:33 +03:00
Alexey Sedunov c80c866d82 Change Signature: Rename parameter in overriding functions
#KT-4045 Fixed
2014-11-26 13:07:31 +03:00
Alexey Sedunov ddccc0e640 Change Signature: Update enum entries w/o delegation specifier when changing signature of enum class constructor
#KT-5978 Fixed
2014-11-26 13:07:29 +03:00
Alexey Sedunov 5bfdb8ee60 Change Signature: Do not add default values to parameters of overriding functions
#KT-6160 Fixed
2014-11-26 13:07:28 +03:00
Alexey Sedunov d597c98445 Extract Function: Fix NPE when extracting this in object
#KT-6238 Fixed
2014-11-26 13:07:27 +03:00
Alexey Sedunov 432c0bb69e Rename: Add tests for enum entries
#KT-4800 Fixed
2014-11-18 13:25:02 +03:00
Alexey Sedunov 6c08613f68 Change Signature: Add tests for enum entries
#KT-6034 Fixed
2014-11-18 13:25:01 +03:00
Nikolay Krasko 365319a8e6 LTDA: Make supertypes in lazy type parameters be recorded in order of declaration 2014-11-17 16:15:26 +03:00
Alexey Sedunov 558e038ba5 Extract Function: Replace non-denotable parameter types with their super types when possible
#KT-6187 Fixed
2014-11-13 17:27:29 +03:00
Alexey Sedunov 27977cda23 Move: Test data addendum 2014-10-22 21:07:10 +04:00
Alexey Sedunov 925177f3d8 Move: Fix rebinding of references to singleton members and Java statics
#KT-6082 Fixed
2014-10-22 18:43:14 +04:00
Alexey Sedunov bc7ae4186b Move: Do not rebind references to the declaration under move 2014-10-22 18:42:59 +04:00
Alexey Sedunov b5e1fe613c Extract Function: Take duplicates into account when choosing placement of extracted function
#KT-5916 Fixed
2014-10-22 18:42:57 +04:00
Alexey Sedunov c492ffee08 PSI Pattern Matching: Prefer strongly matched children over weakly matched parents 2014-10-22 18:42:55 +04:00
Alexey Sedunov 40da4bd423 Extract Function: Do not allow property extraction if return type is Unit
#KT-6017 Fixed
2014-10-22 18:42:55 +04:00
Alexey Sedunov b18b888161 PSI Pattern Matching: Fix matching of !!
#KT-6021 Fixed
2014-10-15 15:41:47 +04:00
Alexey Sedunov ff082be524 File Move: Fix update of extension references. Reuse MoveKotlinTopLevelDeclarationsProcessor 2014-10-14 01:59:53 +04:00
Alexey Sedunov 74242a5fd9 Move: Updated test data (functions/properties are not imported by default) 2014-10-06 14:23:50 +04:00
Alexey Sedunov 1353e7f56b Find Usages: Disable by-convention search of invoke(). Improve scanner
accuracy when indexing possible references to component functions
2014-10-06 14:23:49 +04:00