Commit Graph

280 Commits

Author SHA1 Message Date
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
anna
308e0665e1 introduce parameter, delegate: process supermethod accordingly (IDEA-57162) 2010-08-05 15:54:28 +04:00
anna
e0ca0eb4cd do not replace type with immediate type without necessity (IDEA-56926) 2010-08-05 15:54:27 +04:00
anna
ba842af30e safe delete method parameter: change method signature in javadoc accordingly (IDEA-57032) 2010-08-05 15:54:25 +04:00
anna
12fa2254f7 inline: choose top level inner class to control flow (IDEA-57027) 2010-08-05 15:54:23 +04:00
anna
a09ddeb792 move: leave classes in one file if they were together 2010-08-02 10:53:03 +04:00
anna
5897738dfc inline parameter: safely inline recursive calls (IDEA-55529) 2010-07-27 19:23:53 +04:00
anna
168d489e88 collapse hierarchy: do not push down supersuper twice 2010-07-27 19:23:52 +04:00
anna
eea315f19b inline constant: do not override qualifier 2010-07-27 14:59:02 +04:00
anna
0bbbfef619 introduce over non-valid expression (IDEA-26836) 2010-07-27 14:59:01 +04:00
anna
353f331ea7 safe delete: delete method hierarchy down to the bottom 2010-07-26 11:56:36 +04:00