Commit Graph

341 Commits

Author SHA1 Message Date
anna
9e5beea3e1 reinit type selection manager after exprs invalidation (IDEA-72129) 2011-07-15 11:25:58 +04:00
anna
47e7f584b7 rename/move empty package as directory: correct refs on dir itself 2011-07-13 13:53:00 +04:00
anna
a42792b192 inplace introduce: correctly restore anchors to insert newly created field 2011-07-13 10:38:42 +04:00
anna
3db3301161 inplace introduce: ensure that no refs on newly created var from expression would participate in the further processing 2011-07-12 19:12:52 +04:00
anna
b437fbe924 rename method: qualify refs inside anonymous classes if necessary (IDEA-71830 ) 2011-07-12 17:43:37 +04:00
anna
2e8060a53b rename package: do not replace dir with corresponding package when package was already processed
move classes from dir: update file refs
2011-07-12 17:43:36 +04:00
anna
34151b68df EA-26767 - NPE: ExtractMethodProcessor.doRefactoring 2011-06-30 12:39:17 +04:00
anna
883073fede anonymous->inner: do not generate public static class inside interface 2011-06-29 21:09:05 +04:00
anna
2f34ff976e inplace introduce: restore initial local variable name 2011-06-29 18:52:49 +04:00
anna
04c88b7765 inplace introduce: do not touch next field type; fix introduce over local variable with initializer; tests 2011-06-29 17:09:50 +04:00
anna
f475e7d57a inplace introduce: show dialog on second keystroke 2011-06-28 21:09:02 +04:00
anna
873c9c562e move members: do not escalate visibility when usages are moved together (IDEA-70796 ) 2011-06-21 18:30:27 +04:00
anna
e32cc3c855 replace duplicates when pull methods up 2011-06-20 21:21:07 +04:00
anna
91d3996e1c invert boolean for anonymous classes (IDEA-71076) 2011-06-20 21:21:07 +04:00
Alexey Kudravtsev
b4082a3556 test 2011-06-10 15:06:19 +04:00
anna
01855006ec search for default annotation method (IDEA-70739) 2011-06-08 23:05:04 +04:00
anna
eb800fd0ee inline method: do not insert unnecessary qualification (IDEA-70786 ) 2011-06-08 21:57:31 +04:00
anna
e7262d47ea extract method: do not fold when write access was used inside common expressions (IDEA-70376) 2011-06-01 13:36:22 +04:00
anna
6f3a5a0578 inplace introduce api: inplace introduce parameter: tests 2011-05-26 16:08:20 +04:00
anna
34cecc05ca inplace introduce api extracted 2011-05-26 15:25:24 +04:00
anna
c862b52ae8 introduce new array from varargs list (IDEA-68180) 2011-05-23 20:56:19 +04:00
anna
f42960991c rename wrong ref by Shift-F6 (IDEA-61734) 2011-04-17 19:58:06 +02:00
anna
b4a99e051b correct field/getters naming in extract method object (EA-26268 - assert: ExtractMethodObjectProcessor.b) 2011-04-15 20:24:51 +02:00
anna
2946bdfeb3 undo and rename/move class used in run configuration (IDEA-36423) 2011-03-30 18:31:21 +02:00
Roman Shevchenko
00292e4696 Introduce variable tests fixed for multi-catch type 2011-03-22 19:33:31 +01:00
anna
611019175f inplace introduce field/constant: restore anchors if they were changed during template 2011-03-22 16:15:07 +01:00
anna
6776cbd8c1 invert boolean: stop on class level (IDEA-66889) 2011-03-22 12:45:48 +01:00
anna
938868c348 introduce field: fix introducing in anonymous class; fix enclosing constructor (IDEA-66774) 2011-03-21 12:57:31 +01:00
anna
084c70b827 tests for inline introduce field 2011-03-17 17:29:38 +01:00
anna
2f32d06e43 move file instead of splitting in classes when all classes in file are moved (IDEA-66437) 2011-03-14 14:08:37 +01:00
Roman Shevchenko
a8dcf9e9c8 Resource variable deletion logic moved to resource list (fix for safe delete and inline) 2011-03-11 21:12:42 +01:00
anna
409d5b026b extract method: correct extraction with leading comment 2011-03-11 16:53:04 +01:00
anna
0d2ea7efa4 safe delete: fixed delete from the top of the hierarchy 2011-03-11 15:47:34 +01:00
anna
1b09d55adc find occurrences: distinguish <> with different inference (IDEA-66176) 2011-03-11 11:44:42 +01:00
anna
646684310b enable copy for packages in project view (IDEA-12639) 2011-03-10 21:05:25 +01:00
anna
cae6eb927a introduce constant: add after dependant code (IDEA-66414) 2011-03-10 21:05:24 +01:00
anna
3b8b505304 diamonds: treat as raw type when inference was failed (IDEA-66370) 2011-03-09 20:53:19 +01:00
anna
da1aab6e43 introduce parameter: correct introduce parameter and remove unused from the enclosing method 2011-03-09 12:07:37 +01:00
anna
afd90a6695 replace diamond with type on inline when after inline diamond won't be inferred (IDEA-66142) 2011-03-08 11:27:13 +01:00
anna
7a2f03d06b do not try to generify according to failed diamond inference 2011-03-08 11:27:13 +01:00
Roman Shevchenko
8f62093a5c Allow resource variables in-place rename; Java in-place rename tests updated 2011-03-01 11:42:09 +01:00
anna
66ad21fdd9 change class signature: use type param bounds inside class (IDEA-65529) 2011-02-28 15:18:40 +01:00
anna
80b3fd3829 change signature: copy non varargs arg to varargs position (IDEA-65913) 2011-02-28 12:16:01 +01:00
anna
701d391f3d do not create throws list without exceptions (IDEA-65790 ) 2011-02-27 19:30:02 +01:00
anna
e68c92c49f inline: substitute ellipsis type before array construction (IDEA-65897) 2011-02-27 18:20:25 +01:00
Roman Shevchenko
6b44b057fa More fair handle of PsiDisjunctionType; introduce variable for multi-catch types 2011-02-17 17:52:21 +01:00
anna
27ec83e3d7 inline parameter: allow to inline as local for methods with usages (IDEA-65536) ; respect write access for parameters with constant values ( IDEA-65535) 2011-02-16 09:48:39 +01:00
anna
bc30469828 extract method: search deep for type parameters used in extracted fragment 2011-02-16 09:48:36 +01:00
anna
13d5d02daa inline: insert sync on class object when static sync method is inlined (IDEA-65449) 2011-02-14 14:14:32 +01:00
anna
9b28b9cf01 extract method: pre/post expressions checks fixed (IDEA-65476 ) 2011-02-14 14:14:32 +01:00