Commit Graph
618 Commits
Author SHA1 Message Date
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
anna 9ebf19b75e invert boolean: leave expressions with unused return value untouched (IDEA-56568 ) 2010-07-19 22:45:47 +04:00
anna 69ff6e7b27 pull up conflicts: forbid to make package local method abstract (IDEA-56130) 2010-07-19 17:10:53 +04:00
anna b126136e73 pull up conflicts: method2abstract used private method moved to superclass (IDEA-56133) 2010-07-19 17:10:53 +04:00
anna 9d736f9820 inline: tweak search scope for conflicts replacement 2010-07-16 13:28:30 +04:00
anna 37471e2d04 extract method: qualify with this if needed when target class differs from call place's one 2010-07-15 10:44:07 +04:00
anna fa25a0d53f extract method type suggestions: suggest more accurate type if casts found (IDEA-56427) 2010-07-14 10:57:05 +04:00
anna c899f8f467 extract method: do not double parameters 2010-07-09 20:03:29 +04:00
anna b70942e628 rename: prepare renaming invokes after automatic renamers suggestions as well (IDEA-56124) 2010-07-07 15:49:24 +04:00
anna 9d7a066d6c find method duplicates: respect varargs mix with constants/params; empty args list (IDEA-56076) 2010-07-07 12:37:50 +04:00
anna c0e2a0c3b0 inline parameter: simple inline as local variable (IDEA-55951) 2010-07-07 12:37:48 +04:00
anna 2cbb2da5f6 pull up conflicts: check package local/protected access 2010-07-05 14:55:34 +04:00
unknown b9ca9a904c introduce: process parenthesis correctly 2010-07-05 14:55:33 +04:00