Commit Graph
290 Commits
Author SHA1 Message Date
Roman Shevchenko c8bcece45f IDEA-63358 (references search in incomplete code) 2011-01-27 10:35:34 +01:00
anna a6e6122719 inline: find this ref corresponding to static imports (IDEA-64508) 2011-01-24 18:39:41 +01:00
anna 434aba1728 rename method: conflict on final override (IDEA-63845) 2011-01-17 17:42:09 +01:00
anna 35a7143b52 extract method object: do not process inner classes return statements (IDEA-63806) 2011-01-14 17:42:55 +01:00
anna 58c376fcde extract method object from expression: declare necessary variables after call to replace invoke() with correct getter 2010-12-29 16:21:13 +03:00
anna fa41e76126 extract method from expression: declare necessary variables inside; reassign result when it was assigned before (IDEA-63593) 2010-12-29 16:21:13 +03:00
anna 8ada522a72 safe delete unused static imports (IDEA-62051) 2010-12-28 14:37:20 +03:00
anna 77009d153e allow to delete unused params if replaceAll is selected (IDEA-62186) 2010-12-22 22:25:21 +03:00
anna 0654693bcf inline methods: delete static imports on method delete (IDEA-62126) 2010-12-22 22:25:20 +03:00
anna 852773cbe4 allow to introduce constant from this/super expressions (IDEA-63085) 2010-12-22 19:41:58 +03:00
anna cb7ccebc23 initialize in setup: add field initialization instead of variable declaration (IDEA-62451) 2010-12-08 12:40:10 +03:00
anna ba1cd24643 replace constructor with builder: do not suggest to default chain constructor params 2010-11-25 22:24:23 +03:00
anna cd5b299bf4 add setup method before first test method: setting needed? (IDEA-61605) 2010-11-25 16:21:55 +03:00
anna 9d03d64288 do not introduce field before this/super call (IDEA-56011) 2010-11-23 11:48:17 +03:00
anna 507d46e114 rename: do not conflict if class type parameter and type param defined inside class in static context (IDEA-57427) 2010-11-19 12:07:03 +03:00
anna eee43e56f4 extract method: correct cast inserted 2010-11-18 12:18:51 +03:00
anna 0c79b901e1 extract method object: created object name should be unique (suggestion) 2010-11-15 16:54:59 +03:00
anna 0f0adb32b7 do not suggest child type if instanceof inside selected block; if child type suggested then insert cast in method call 2010-11-11 14:17:57 +03:00
anna 1e430d23b5 pull up: protect pulled class private members (IDEA-60729) 2010-11-10 19:02:25 +03:00
anna 841785ad83 rename local variable: survive after inplace rename (e.g. when accept typo quick fix); test 2010-11-02 14:48:33 +03:00
anna fe83d89f0d move inner: moved class should be checked if it contains inaccessible refs (IDEA-60450) 2010-10-29 15:02:01 +04:00
anna 4b89145451 cs: do not compare parameters length of caller and primary method's old parameter idx (IDEA-58352) 2010-10-28 11:50:36 +04:00
anna 0d47b0f720 cs: use any var in declaration statement fixed (IDEA-58344) 2010-10-26 12:19:37 +04:00
anna 950399fc9b cs: pass this as default value when anyVar is selected and this type would be applicable (IDEA-59510) 2010-10-26 12:19:36 +04:00
anna df27175e05 change signature: process first param spacing (IDEA-59817) 2010-10-26 12:19:35 +04:00
anna 72707aa169 extract method: exclude unused type parameters mentioned in return type (IDEA-58456) 2010-10-26 12:19:35 +04:00
Alexey Kudravtsev 221d0c527e Application.assertWriteAccess does really assert in tests,
tests now run in EDT
2010-10-25 15:04:08 +04:00
anna 4e82c12b54 extract superclass: do not extract class type parameter if method one is used 2010-10-15 17:09:32 +04:00
anna 3ba50c2ca4 inplace introduce variable 2010-10-15 17:09:31 +04:00
anna 3585f66c1a cs: all javadoc tags but the last contains tailing \n, delete child remove \n as well -> then delete last tag add new tag leads to \n removal (IDEA-59501) 2010-10-12 19:25:39 +04:00
Denis Zhdanov 8b7ad968fa IDEA-4384 Refactorings should obey "align when multiline"
Test fixes
2010-10-11 15:08:07 +04:00
Denis Zhdanov 1012dd0da2 IDEA-4384 Refactorings should obey "align when multiline"
1. Method parameters/method call arguments are reformatted during method return type/name/modifiers change now (corresponding logic is added at PSI level);
2. Corresponding tests are added;
2010-10-11 13:04:36 +04:00
anna aa951c8272 do not break qualifier removal into 2 transactions: one to remove qualifier and another one to remove leading dot (IllegalArgumentException is thrown by ChangeSignatureDetector) 2010-10-07 12:20:02 +04:00
Alexey Kudravtsev fbf92e3cb2 fixed tests for Linux 2010-10-06 12:38:54 +04:00
anna a4c29ba8ce introduce: do not treat as same different foreach vars (IDEA-58421) 2010-10-05 18:48:10 +04:00
anna 70c93a3fe8 make static: process anonymous class usages (EA-21912 - assert: MakeClassStaticProcessor.changeExternalUsage) 2010-10-04 16:02:13 +04:00
anna 3e574f5208 safe delete: search for all method in hierarchy when delete param (IDEA-59114) 2010-09-28 21:17:13 +04:00
anna 0788e8a7e1 change signature: java: store typed modifiers 2010-09-14 20:38:08 +04:00
anna 9283be8e8e change signature: do not show dialog 2010-09-14 15:04:34 +04:00
anna 5f27df0847 cs: skip return value changes for private methods 2010-09-10 21:50:09 +04:00
anna c29910440d cs: detect delete group; tests 2010-09-10 17:44:39 +04:00
anna 362916313c make class static: new expression qualifiers (IDEA-58387) 2010-09-06 22:06:34 +04:00
anna 30df6ff4dc move: check if dnd move is disabled 2010-09-01 18:54:52 +04:00
anna d1a1ac985d move: do not move all file classes if only one was selected in presence of non-java file (IDEA-57353) 2010-09-01 18:54:51 +04:00
anna 497f872c84 weaken rename collisions detection ( IDEA-58181) 2010-08-31 15:05:01 +04:00
anna a92ecff6a1 move class referenced from property file (IDEA-58083 ) 2010-08-30 12:44:24 +04:00
anna 1931d7b80a test data fixed according to new name suggestions 2010-08-20 13:27:54 +04:00
anna e18d3e0881 pull up/push down: type parameters can be used in type parameters list as well as type elements (IDEA-57268) 2010-08-10 10:26:36 +04:00
anna d8b0141c02 preselect available type, leave inacessible in combo 2010-08-09 18:54:31 +04:00
Roman Shevchenko cb56ea4905 Rename in Javadoc fixed 2010-08-05 22:24:13 +04:00