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
c690761715
Move: Do not process imported references when moving entire file
...
#KT-17538 Fixed
2017-04-24 20:52:10 +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
358b5fe548
Move: Force package name change when moving Java files
...
Package statement in Java file is updated too late
when moving the entire containing directory, so we force it
with intercepting MoveFileHandler implementation
2017-04-11 11:45:08 +03:00
Alexey Sedunov
c1066b98f0
Move: Fix warning on companion used as implicit dispatch receiver
...
Do not report conflict if target class is a sublcass of
companion object's containing class
2017-04-06 18:54:02 +03:00
Alexey Sedunov
5c35061afa
Move: Make minor improvements and refactorings
2017-04-06 18:52:45 +03:00
Alexey Sedunov
4a168ff780
Move: Process internal usages after all declarations are moved
2017-04-06 18:18:33 +03:00
Alexey Sedunov
746ec48176
Move: Fix internal reference processing on moving multiple files
...
#KT-17211 Fixed
2017-04-04 14:35:10 +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
2f136dae1c
Move: KT-8955
...
Fix NPE on moving directory where at least one Kotlin file
contains package directive unmatched by the containing directory
#KT-8955 Fixed
2017-03-22 13:36:18 +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
61210d6ba2
Move: Fix callable reference processing when moving to another package
...
#KT-14197 Fixed
2016-12-02 14:14:03 +03:00
Alexey Sedunov
140d0b61f1
Move: Fix exception on moving Kotlin file without declarations
...
#KT-14114 Fixed
2016-10-07 20:20:32 +03:00
Alexey Sedunov
86c123164a
Move Inner Class to Upper Level: Fix replacement of outer class instances used in inner class constructor calls
...
#KT-13928 Fixed
2016-10-05 11:32:38 +03:00
Alexey Sedunov
6366383b31
Minor: Add test for KT-13916
2016-09-20 20:35:56 +03:00
Alexey Sedunov
951dc6a438
Move: Remove companion object which becomes empty after the move
...
#KT-13903 Fixed
2016-09-20 20:35:55 +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
542f8d9fd2
Move: Support quoted package names
...
#KT-12411 Fixed
(cherry picked from commit 95239e5)
2016-06-28 15:07:30 +03:00
Kirill Rakhman
5c68681f96
Formatter: handle spaces before value arguments list (KT-12634)
...
#KT-12634 Fixed
2016-06-07 19:11:28 +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
Alexey Sedunov
d662b02e95
Move: Nested classes support
...
#KT-9027 In Progress
2016-01-26 18:19:09 +03:00
Ilya Gorbunov
25c4453dc5
Cleanup deprecated symbol usages in testData
2016-01-22 05:54:38 +03:00
Dmitry Jemerov
8fdd8179b9
Workaround for KtEnumEntrySuperclassReferenceExpression which implements KtSimpleNameExpression in a weird way and can break Move refactoring (EA-75268 - assert: TextRange.<init>)
2016-01-13 20:28:39 +01: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