Denis Zharkov
f0e3fd617d
Adjust testData to CharSequence.length transformation
2015-10-14 20:39:35 +03:00
Pavel V. Talanov
41c0895abb
JetExtractionTest: adjust test data
...
after making some of builtin types serializable
2015-10-01 17:53:17 +03:00
Denis Zharkov
4850fd10f0
Regenerate test data containing rendered descriptors
...
Introduced '@' after each annotation
2015-09-18 10:14:39 +03:00
Alexey Sedunov
0a32e5a96d
Extraction Engine: Support references to synthetic properties
2015-09-17 01:33:25 +03:00
Alexey Sedunov
767897dccf
Extraction Engine: Replace receiver occurrences with 'this' when necessary
2015-09-17 01:33:22 +03:00
Alexey Sedunov
2de4de4a1e
Extract Function: Do not use flexible type as default: use one of its bounds instead
...
#KT-9099 Fixed
2015-09-11 02:20:55 +03:00
Michael Nedzelsky
daa1ac1918
fix tests in org.jetbrains.kotlin.idea.refactoring.introduce
2015-09-08 02:05:46 +03:00
Alexey Sedunov
14c657d448
Extract Function: Consider reference "broken" if corresponding diagnostics are changed after code fragment extraction
...
#KT-8633 Fixed
2015-09-06 18:04:39 +03:00
Alexey Sedunov
e03067846f
Extract Function: Ignore internal smartcasts
...
#KT-8458 Fixed
2015-09-06 18:04:37 +03:00
Stanislav Erokhin
aaebe70342
Improved logic of finding conflicts for refactoring actions
2015-08-27 12:01:08 +03:00
Mikhail Glukhikh
022e7d1169
Deprecated enum syntax removed: most idea tests
2015-08-10 16:24:16 +03:00
Denis Zharkov
befe025d21
Fix intentions testData: types rendering changed
...
Some more FQ names appeared.
The reason is that earlier such types were Lazy and their `toString` method return short version.
But after type enhancement they are represented with JetTypeImpl
2015-07-09 16:36:45 +03:00
Alexey Sedunov
4e7200d8e8
Extract Function: Add backticks to non-identifiers and references originally surrounded in backticks
...
#KT-8192 Fixed
2015-06-27 13:58:06 +03:00
Alexey Sedunov
c6f6637b25
Extract Function: Fix extraction of explicit/implicit invoke()
...
#KT-8116 Fixed
2015-06-27 13:58:04 +03:00
Alexey Sedunov
d58112a32a
Extract Function: Use intersection type to compute candidate types for parameters
...
#KT-8103 Fixed
2015-06-18 19:28:04 +03:00
Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Alexey Sedunov
72205540d6
Extract Function: Show possible types for receiver in Extract Function/Introduce Lambda Parameter dialogs
...
#KT-7578 Fixed
2015-05-26 22:42:43 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Alexey Sedunov
daebf569ab
Extract Function: Allow capturing local function references as lambda parameters
2015-04-17 13:04:56 +03:00
Alexey Sedunov
d036edb5c6
Extraction Engine: Respect smart casts applied to "this" references
...
#KT-7447
2015-04-15 23:20:54 +03:00
Alexey Sedunov
eb594a2897
Extract Function: Approximate non-resolvable types with nearest resolvable supertype when possible
...
#KT-7120 Fixed
2015-04-01 13:41:26 +03:00
Alexey Sedunov
dcfefb0847
Extract Function: Do not extract extension function reference as parameter
2015-03-26 23:11:51 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Alexey Sedunov
9cb42944d1
Extraction Engine: Generate function/property accessor with expression body (whenever applicable)
...
#KT-6405 Fixed
2015-03-13 23:16:57 +03:00
Alexey Sedunov
9d8cfd04d9
Extraction Engine: Suggest function names based on the name of the result variable (if applicable)
...
#KT-6291 Fixed
2015-03-13 23:16:55 +03:00
Stanislav Erokhin
3b92cab9e0
Changed containing declaration for PropertyDeclarationInnerScope
2015-03-12 17:11:43 +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
Alexey Sedunov
4aac24956c
Extraction Engine: Skip named argument references while analyzing extractable code
...
#KT-6896 Fixed
2015-03-06 14:37:16 +03:00
Andrey Breslav
da238cffaf
Visibility of local classes is LOCAL
2015-01-29 16:07:29 +03:00
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
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
d597c98445
Extract Function: Fix NPE when extracting this in object
...
#KT-6238 Fixed
2014-11-26 13:07:27 +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
cb3328c052
Extract Function: Choose default visibility at analysis phase
2014-08-12 13:09:52 +04:00
Alexey Sedunov
1618d7448d
Extract Function: Improve rendering of error messages
2014-07-11 19:13:41 +04:00
Alexey Sedunov
a6882f6670
Extract Function: Exclude unused parameters (jump-based control flow)
2014-07-11 19:13:37 +04:00
Alexey Sedunov
3e3918ab6e
Extract Function: Keep track of original parameter descriptors
2014-07-11 19:13:25 +04:00
Alexey Sedunov
ca16f4231f
Extract Function: Infer parameter type candidates
...
#KT-4940 Fixed
2014-06-23 21:10:12 +04:00
Alexey Sedunov
a3f215fb34
Extract Function: Support extraction of "it" parameter from lambdas
2014-06-23 19:32:33 +04:00
Alexey Sedunov
c7d8ab8219
Extract Function: Add support of property-as-function calls
...
#KT-5179 Fixed
2014-06-23 19:32:30 +04:00
Alexey Sedunov
53c49b6333
Shorten References: Do not shorten qualified expression if receiver values are changed
...
#KT-5180 Fixed
2014-06-23 19:32:26 +04:00
Alexey Sedunov
4463c67e28
Extract Function: Fix replacement of type references and constructor references
2014-06-03 18:17:14 +04:00
Alexey Sedunov
3d6fc6e015
Extract Function: Fix replacement of references with class receivers (objects, class objects, enum classes)
2014-06-03 18:17:13 +04:00
Alexey Sedunov
240f033f4f
Extract Function: Fix NPE caused by unmatched offset-to-reference maps
...
#KT-5001 Fixed
2014-06-03 18:17:12 +04:00
Alexey Sedunov
f4c21d3a28
Extract Function: Treat multi declarations as local variables
...
#KT-5054 Fixed
2014-06-03 18:17:10 +04:00
Alexey Sedunov
3a75aa27f0
Extract Function: Fix extraction of reference to class object property
...
#KT-5053 Fixed
2014-06-03 18:17:10 +04:00
Alexey Sedunov
3c5c0248a7
Extract Function: In case of top-level and member declarations place extracted function after the original container
2014-06-02 19:48:35 +04:00