Commit Graph

381 Commits

Author SHA1 Message Date
anna
3fd8b171c0 copy multiple files :test
(cherry picked from commit dd440f563e52ab0e724d0b971c1ce95bb4da8c80)
2011-12-06 10:38:30 +01:00
anna
dc9800d704 introduce parameter (IDEA-68498 )
(cherry picked from commit 0250f290f3d031a5d3f95faee8c280d241382040)
2011-12-06 10:37:42 +01:00
anna
b3922178be introduce field: avoid dbl setup creation when no annotation present (IDEA-76926) 2011-11-21 09:39:19 +01:00
anna
2574a0649c extract class: do not qualify enums in switches (IDEA-76587 ) 2011-11-13 20:57:13 +01:00
anna
6156f780a6 enable introduce before void statement but with non-void qualifier (IDEA-76726 ) 2011-11-13 18:58:27 +01:00
anna
c443915ed6 change signature detection: ignore changes in return type when no other changes were made; include new return type in result change info; leave suggestion when method become unused due to return type deletion 2011-11-08 16:00:25 +01:00
anna
210a43b301 inline: enable inline from library sources (IDEA-63407 ) 2011-11-07 10:54:04 +01:00
anna
5516b03b1a instance method move: do not introduce additional params for base class of containing anonymous 2011-11-07 10:54:04 +01:00
anna
2692681d6f run change signatures pass after post highlighting to be able to dismiss "detection" for unused methods 2011-11-04 16:22:31 +01:00
anna
e5316ef1db in-place change signature: avoid deadlock; avoid suggestions on new; highlight range in the box - hide highlighting on caret movement; dismiss current highlighting 2011-11-03 18:12:35 +01:00
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