Commit Graph

371 Commits

Author SHA1 Message Date
anna
34d34725f2 do not qualify super expression as such cases are not yet captured by duplicates finder anyway 2011-10-18 15:20:29 +02:00
anna
c97568edcd skip inaccessible duplicates (IDEA-75520) 2011-10-14 17:02:31 +02:00
anna
5cf4f5c155 introduce array from varargs expression: preserve the method call (IDEA-75519) 2011-10-14 17:02:30 +02:00
anna
1793a5ad90 extract method object from anonymous class: update method call site when context should be changed; do not change call site though 2011-10-11 15:13:05 +02:00
anna
48643622e8 introduce variable: insert var declaration after assignment to final variable 2011-09-15 12:35:38 +02:00
anna
daa3c0ff05 disable rename as wrong ref on invalid access refs; though enable quick fix there 2011-09-14 19:36:25 +02:00
anna
d6970bc9b3 restore escalate visibility for moved members 2011-09-09 10:54:32 +02:00
anna
e2ae76304d expand diamonds on introduce parameter (IDEA-74059) 2011-09-08 19:27:54 +02:00
anna
94bb0729c0 introduce parameter: substitute type parameters on call site 2011-09-08 19:27:53 +02:00
anna
2b83ce0999 move inner to upper level: don't make enum constructor public (IDEA-74036) 2011-09-08 19:27:51 +02:00
anna
85d3c55244 restore copy/paste for non-java files inside source roots (IDEA-73192 ) 2011-09-07 17:00:01 +02:00
anna
b0d0f28f03 process diamonds on safe delete of type parameter (IDEA-73968) 2011-09-07 12:18:59 +02:00
anna
8fef5fc92d replace with diamonds should always check if inferred type agrees with expected type (IDEA-73944) 2011-09-07 12:18:58 +02:00
anna
25b5ddcbc8 pull up: preserve/remove override from pulled method according to super classes structure 2011-09-06 11:05:01 +02:00
anna
5471e8e202 push down: do not add the same interface twice (check class equivalence over non-copied element) 2011-09-06 11:05:00 +02:00
anna
d1a5dacee3 inline superclass: preserve superclass extends/implements list (IDEA-69339) 2011-09-06 11:04:59 +02:00
anna
b01b21b30f rationalize static method calls after pull up 2011-09-02 19:25:58 +02:00
anna
b2ad5fd7be fix test data 2011-08-22 10:57:14 +02:00
anna
1ed82c5609 introduce parameter: replace field access with getter: correct anonymous class access; check qualifier 2011-08-21 14:46:36 +02:00
anna
edcc4a17e0 introduce parameter object: no need to change signature for overriders as they would be changed anyway; correct varargs method processing (IDEA-68920 ) 2011-08-19 21:10:52 +02:00
anna
3f144f08b4 move instance methods: leave this refs inside anonymous classes untouched (IDEA-71575) 2011-08-19 21:09:55 +02:00
anna
51ecd1ad28 diamonds: collapse to diamonds when introducing (IDEA-73069) 2011-08-11 17:31:29 +04:00
anna
ce10ecce7f inplace introduce: preserve offset corresponding to editor changes 2011-08-09 12:11:07 +04:00
anna
f5f7a96b24 inplace introduce: suggest unique names 2011-08-05 21:20:05 +04:00
anna
4e7e73d7bf inplace introduce: fix for method call occurrences (IDEA-72868) 2011-08-04 17:59:22 +04:00
anna
64b4fc43a8 name suggestions: do not check next members for param name conflicts 2011-08-04 17:59:20 +04:00
anna
6e3ca2f9e1 extract method: do not include comments when they were not included in selection; leave assignment expressions untouched? (IDEA-72730 ) 2011-08-04 14:16:33 +04:00
anna
11538de335 make class static: leave super expressions unprocessed when they do not correspond to outer class (IDEA-72740) 2011-08-03 22:02:14 +04:00
anna
0cb64bd6ae inplace introduce: append semicolon if needed (to avoid parsing assignment as local variable) 2011-08-01 11:30:36 +04:00
anna
bc579f1e58 inplace introduce param: no need to correct caret position with or without conflict 2011-07-15 14:28:40 +04:00
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