Commit Graph
424 Commits
Author SHA1 Message Date
Anna Kozlova dde04a403d preserve javadoc refs during inplace rename (IDEA-85817) 2012-05-15 15:05:50 +04:00
Anna Kozlova ccba3bf443 inplace introduce parameter: from field with the same name (IDEA-85750) 2012-05-14 19:51:53 +04:00
Anna Kozlova 2a03100cb3 suggest to rename constructor params when property name is the same (IDEA-85979) 2012-05-14 18:27:41 +04:00
Denis.Zhdanov 2bcb01f172 IDEA-85813 Field/variable declaration/assignment alignment lost with Refactor>Rename or Reformat Code
Expand field range to the field group range during the formatting if necessary
2012-05-10 07:38:28 +04:00
anna 584cf8b16b introduce parameter: do not insert additional arg when selection was in the self call (IDEA-66896) 2012-04-16 09:21:10 +02:00
anna f073b37e46 introduce variable: use right expression if left ref is unresolved (IDEA-72914) 2012-04-14 19:09:32 +02:00
anna 37f41bf73f introduce variable from polyadic expression: ensure that selected expr would be replaced 2012-04-09 20:29:44 +02:00
anna c660378357 inline: do not mess with qualifiers statically imported members (IDEA-83713) 2012-04-06 20:33:01 +02:00
anna 6482929c2d move instance method: do not break visitor - postpone whole expr replacement (IDEA-84207) 2012-04-06 18:06:20 +02:00
anna 289f64b764 move instance: do not warn about self references 2012-04-06 15:01:10 +02:00
anna 8b81df9ef0 introduce constant: check forward reference fix ( IDEA-84139) 2012-04-06 15:01:10 +02:00
anna f7e384c39d rename: context class should be chosen when qualify conflict ref (IDEA-83928) 2012-04-04 16:38:01 +02:00
anna 00f361600b rename method: warn about cases when after rename another method would be used in the call places (IDEA-83831) 2012-04-04 16:37:59 +02:00
anna eab9b22aab inplace rename: check for rename element even if it is valid (reparse surprises) 2012-03-30 17:48:02 +02:00
anna 939ed2bede introduce field: use precalculated settings (IDEA-83180)
(cherry picked from commit 019be99b8e2b558e2014565a15dd29f0202b4653)
2012-03-21 18:02:13 +01:00
anna 8cea94f9c3 optimize imports: leave on demand imports untouched when no corresponding dirs can be found in the resolve scope (IDEA-82944) [peter]
(cherry picked from commit 61c42a9b1cb1fa712db584b8df5bc707cf4fb7ea)
2012-03-21 18:02:11 +01:00
anna 7bd0e144e9 change class signature should not touch instanceof statements (IDEA-82661) [roma] (cherry picked from commit dcd5e50) 2012-03-21 18:02:04 +01:00
anna 3c5d7a568d push down from interface to abstract class fixed (IDEA-82286) 2012-03-12 12:43:05 +01:00
anna fd6b282da2 introduce vararg variable from the selected enumeration (IDEA-82508) 2012-03-11 19:00:58 +01:00
anna 5fa5c0f598 correct field's class instance when move instance method (IDEA-82103) 2012-03-01 20:22:02 +01:00
anna a6244c8472 restore remember last place for introduce field (IDEA-82084) 2012-03-01 20:22:02 +01:00
anna 216e15280e AIOOBE 2012-02-20 18:27:18 +01:00
anna edbf9c3db0 inplace rename: static context processing (IDEA-81427) 2012-02-16 18:52:24 +01:00
anna a8dc6bc627 inplace introduce: try our best to restore complex expressions during introduce (IDEA-80665) 2012-02-15 21:21:55 +01:00
anna 281a692bff EA-33665 - AIOOBE: IntroduceVariableBase.createArrayCreationExpression 2012-02-14 18:54:07 +01:00
anna 14710359c5 move members: escalate visibility fix in case of overloaded methods (IDEA-81323) 2012-02-14 10:30:01 +01:00
anna d4d1685828 EA-33530 - AIOOBE: ExtractMethodProcessor.doExtract 2012-02-07 11:42:54 +01:00
anna b54dd41ed0 IDEA-78597 Refactoring introduce field introduce silly assignment 2012-02-07 09:15:17 +01:00
Anna Kozlova 7d870ed603 remove redundant casts when extract changed parameter type accordingly (IDEA-79743) 2012-02-02 11:03:55 +04:00
Anna Kozlova c36419f867 inline: warn if assignment with operation (IDEA-80348) 2012-01-27 21:47:55 +04:00
Anna Kozlova 608afc659e IDEA-79290 Inline Local Variable does not qualify accesses to obscured types 2012-01-25 15:26:11 +04:00
anna face21abec copy package-info with package annotations (IDEA-79980) 2012-01-17 17:54:01 +01:00
anna 4a8e4d4afc replace constant duplicates (IDEA-43784) 2012-01-16 20:12:12 +01:00
anna a71612a457 method duplicates: correctly process qualifiers (IDEA-79954) 2012-01-16 17:12:19 +01:00
anna bd6b9ca5b5 update mock jdk 1.7 to contain correct @Deprecated version 2012-01-16 15:20:22 +01:00
anna 90bdbd8764 IDEA-77607 Introduce refactoring looses annotation 2012-01-15 17:58:02 +01:00
anna eaeb6d1257 convert to instance: remove target class parameter javadoc (IDEA-78892 ) 2011-12-20 21:07:02 +01:00
anna d2bab883bd inline method: do not check for inaccessibility if referenced member would be also inlined (IDEA-78941 ) 2011-12-16 10:01:03 +01:00
anna f9af2b2245 move instance member (IDEA-78519) 2011-12-16 08:47:12 +01:00
anna e8ccd03fa2 extract method object: order moved methods by usages; write access (IDEA-78847) 2011-12-14 12:59:29 +01:00
Alexey Kudravtsev 9a6cf70a00 run refactoring tests outside the write action and get rid of testRun() 2011-12-14 12:24:10 +04:00
anna 55611fe9ad extract class: constructor params (IDEA-73788 ) 2011-12-06 15:54:52 +01:00
anna b56abcfae9 inplace members rename tests
(cherry picked from commit 9db66026eb65ef943da08f6dcf42b0f2a80fe03e)
2011-12-06 10:38:33 +01:00
anna 3fd8b171c0 copy multiple files :test
(cherry picked from commit dd440f563e52ab0e724d0b971c1ce95bb4da8c80)
2011-12-06 10:38:30 +01:00
anna dc9800d704 introduce parameter (IDEA-68498 )
(cherry picked from commit 0250f290f3d031a5d3f95faee8c280d241382040)
2011-12-06 10:37:42 +01:00
anna b3922178be introduce field: avoid dbl setup creation when no annotation present (IDEA-76926) 2011-11-21 09:39:19 +01:00
anna 2574a0649c extract class: do not qualify enums in switches (IDEA-76587 ) 2011-11-13 20:57:13 +01:00
anna 6156f780a6 enable introduce before void statement but with non-void qualifier (IDEA-76726 ) 2011-11-13 18:58:27 +01:00
anna c443915ed6 change signature detection: ignore changes in return type when no other changes were made; include new return type in result change info; leave suggestion when method become unused due to return type deletion 2011-11-08 16:00:25 +01:00
anna 210a43b301 inline: enable inline from library sources (IDEA-63407 ) 2011-11-07 10:54:04 +01:00