Alexey Sedunov
3c267b206b
Move: Fix exception on moving top-level declaration from/to script file
...
#KT-20260 Fixed
2018-06-04 20:17:43 +03:00
Alexey Sedunov
bf106d01b8
Find Usages: Restrict search scope of private top-level declarations
...
#KT-7622 Fixed
2018-04-13 20:23:04 +03:00
Alexey Sedunov
df4c80f43a
Shorten References: Allow import insertion when function and property have the same name
...
#KT-22745 Fixed
2018-03-06 15:15:44 +03:00
Alexey Sedunov
df4cd14161
Move: Relax private/protected visibility checks for usages in Java code
2018-03-06 15:15:43 +03:00
Alexey Sedunov
12d5a72697
Move: Show more accurate message when moving subclass of a sealed class
...
#KT-23065 Fixed
2018-03-06 15:15:41 +03:00
Alexey Sedunov
d06f23f2ba
Move: Fix replacement of non-code usages with backquoted names
...
#KT-13986 Fixed
2018-02-28 14:03:43 +03:00
Alexey Sedunov
883558a4c7
Move/Copy: Fix 'protected' conflict reporting for references in super type entries
...
#KT-22678 Fixed
2018-02-28 14:03:43 +03:00
Alexey Sedunov
a341392524
Move: Search Java usages when top-level declaration moves to new facade
...
#KT-22747 Fixed
2018-02-28 14:03:42 +03:00
Alexey Sedunov
91fdc0e967
Move: Drop ${...} around shortened qualified expression
...
#KT-22692 Fixed
2018-02-28 14:03:42 +03:00
Alexey Sedunov
e63e48933d
Move: Add import for top-level declarations moved to the default package
...
#KT-22661 Fixed
2018-02-28 14:03:42 +03:00
Alexey Sedunov
4537192e86
Move: Check if sealed class is moved with its subclasses
...
#KT-22769 Fixed
2018-02-21 13:21:18 +03:00
Alexey Sedunov
2e8b374ce8
Move: Use KtNamedDeclaration as referrer when reporting a conflict
...
EA-103817 Fixed
2017-06-29 17:42:15 +03:00
Alexey Sedunov
8bbf8e185a
Move: Filter out usages with visibility error before refactoring
...
If declaration is already invisible before move,
no visibility conflict should be reported
#KT-17571 Fixed
2017-05-10 14:49:52 +03:00
Alexey Sedunov
a8c57f11af
Move: Implement more accurate 'protected' visibility check
...
#KT-17545 Fixed
2017-04-24 20:52:12 +03:00
Alexey Sedunov
f575e2710f
Move: Fix processing of implicit extension 'invoke' calls
...
Also fix bogus "unused import" inspection reported on such calls
#KT-17496 Fixed
2017-04-21 13:32:34 +03:00
Alexey Sedunov
9979c6e361
Move: Fix processing of callable references to Java constructors
2017-04-11 12:11:51 +03:00
Alexey Sedunov
4a168ff780
Move: Process internal usages after all declarations are moved
2017-04-06 18:18:33 +03:00
Alexey Sedunov
2eb912a30c
Move: Convert AbstractMoveTest to light fixture test case
...
Extract multi-module move test to a separate class
2017-03-31 18:24:16 +03:00
Alexey Sedunov
eaba215bbb
Move: Wrap individual internal usages for better preview
...
Fix unused import removal for internal usages
#KT-9158 Fixed
2017-03-31 18:24:12 +03:00
Alexey Sedunov
298ee266c3
Move: Fix conflict checking when switching between similar libraries
...
#KT-17006 Fixed
2017-03-26 12:56:26 +03:00
Alexey Sedunov
1d0162402e
Move: Fix processing of calls and callable references
...
Fix CCE on callable references to Java methods.
Fix qualification of callable references without receivers.
Fix processing of calls/callable references to object extensions
and extension members.
Do not explicate short companion references
#KT-16809 Fixed
2017-03-26 12:56:24 +03:00
Alexey Sedunov
dc04b200b6
Move: Do not shorten references unaffected by the refactoring
2017-03-26 12:56:20 +03:00
Alexey Sedunov
d71cefee8a
Move: Fix "scanEntireFile" values after the refactoring
...
#KT-17032 Fixed
2017-03-26 12:56:18 +03:00
Alexey Sedunov
56d22277b7
Move: Filter out ConflictUsageInfo instances before running the refactoring
...
#KT-16556 Fixed
2017-03-22 13:36:19 +03:00
Alexey Sedunov
92fbca452d
Move: Do not report conflict on usages of inherited protected members
...
#KT-15190 Fixed
2017-03-22 13:36:14 +03:00
Alexey Sedunov
e82b256640
Move: Implement conflict checking for internal members
...
#KT-13190 Fixed
2017-03-22 13:36:13 +03:00
Alexey Sedunov
6f5249ecc7
Move: Fix processing of references to non-real members of companion object
...
#KT-15559 Fixed
2017-03-22 13:36:12 +03:00
Alexey Sedunov
bab762b761
Implement post-refactoring optimization of unused imports
...
#KT-15822 Fixed
#KT-13755 Fixed
2017-03-22 13:36:11 +03:00
Alexey Sedunov
13de9aea81
Move: Fix processing of conflicting usages
...
Exclude conflict-associated usages from refactoring.
Move search of file internal usages to MoveKotlinDeclarationsProcessor
2017-03-22 13:36:09 +03:00
Alexey Sedunov
9a3ace423a
Move: Update test data for tests with conflicts
...
Check refactoring result for the case when conflicts are ignored.
Fix move destination when moving to another source root
2017-03-22 13:36:07 +03:00
Alexey Sedunov
6366383b31
Minor: Add test for KT-13916
2016-09-20 20:35:56 +03:00
Alexey Sedunov
6480118da6
Move: Report separate conflicts for each property accessor
...
#KT-13216 Fixed
2016-08-24 11:27:18 +03:00
Alexey Sedunov
8232c66617
Move: Warn about accessibility conflicts when moving entire file
...
#KT-13175 Fixed
2016-08-17 11:49:57 +03:00
Alexey Sedunov
baa549e7c8
Move: Warn about accessibility conflicts due to moving to unrelated module
...
#KT-13174 Fixed
2016-08-17 11:49:56 +03:00
Alexey Sedunov
4ab25bd0bb
Move: Quote package name (if necessary) when moving declarations to new file
...
#KT-13385 Fixed
2016-08-10 11:45:39 +03:00
Alexey Sedunov
59a714ca5c
Presentation: Render function signature in RefactoringDescriptionLocation
...
#KT-12943 Fixed
2016-08-10 11:45:29 +03:00
Alexey Sedunov
fe8a0ec2bc
Move: Additional test for KT-10553 (private top-level property with default accessors)
2016-02-04 12:26:17 +03:00
Alexey Sedunov
a05a16c1e6
Move: Fix name lengthening when moving from default package
...
#KT-10696 Fixed
2016-02-01 13:18:33 +03:00
Alexey Sedunov
218dd41a08
Move: More accurate visibility analysis
...
#KT-10553 Fixed
2016-01-26 18:19:20 +03:00
Ilya Gorbunov
25c4453dc5
Cleanup deprecated symbol usages in testData
2016-01-22 05:54:38 +03:00
Alexey Sedunov
44bc937499
Shorten References: Fix removal of explicit companion references in the position of callee expression
...
#KT-10102
2015-12-02 13:54:01 +03:00
Alexey Sedunov
ca87e7933f
Move: Drop Java on-demand static imports of facade class members when original facade is eliminated due to Move refactoring
...
#KT-9624 Fixed
2015-10-24 19:50:48 +03:00
Dmitry Petrov
dda508234f
Drop package facades:
...
- update tests
- cleanup JetTyMapper after rebase
2015-10-19 16:03:22 +03:00
Dmitry Petrov
a76fb328cb
Dropping package facades:
...
- fix testData for 'move' tests
(NB regression in **/onDemandStaticImport.java, see: https://youtrack.jetbrains.com/issue/KT-9624 )
2015-10-19 16:03:20 +03:00
Pavel V. Talanov
e578caaed2
Fix test data for move test
...
Tests do not pass after this change
(cherry picked from commit d4437d7)
2015-10-19 16:03:18 +03:00
Michael Bogdanov
c63d221da3
Skip private members in facades
2015-10-18 17:53:26 +03:00
Pavel V. Talanov
c28107034a
Idea tests: INSTANCE$ -> INSTANCE
2015-10-09 16:25:17 +03:00
Alexey Sedunov
605802847a
Move Declarations: Fix processing of self-references
...
#KT-5847 Fixed
2015-10-01 17:35:23 +03:00
Alexey Sedunov
46fe7dc7a1
Move Directory: Support Kotlin files
...
#KT-8350 Fixed
#KT-8351 Fixed
2015-08-17 20:28:17 +03:00
Alexey Sedunov
5d89097870
Move: Fix processing of references with qualifier receivers
...
#KT-8098 Fixed
2015-06-27 13:57:59 +03:00