Commit Graph
394 Commits
Author SHA1 Message Date
Anna Kozlova 608afc659e IDEA-79290 Inline Local Variable does not qualify accesses to obscured types 2012-01-25 15:26:11 +04:00
anna face21abec copy package-info with package annotations (IDEA-79980) 2012-01-17 17:54:01 +01:00
anna 4a8e4d4afc replace constant duplicates (IDEA-43784) 2012-01-16 20:12:12 +01:00
anna a71612a457 method duplicates: correctly process qualifiers (IDEA-79954) 2012-01-16 17:12:19 +01:00
anna bd6b9ca5b5 update mock jdk 1.7 to contain correct @Deprecated version 2012-01-16 15:20:22 +01:00
anna 90bdbd8764 IDEA-77607 Introduce refactoring looses annotation 2012-01-15 17:58:02 +01:00
anna eaeb6d1257 convert to instance: remove target class parameter javadoc (IDEA-78892 ) 2011-12-20 21:07:02 +01:00
anna d2bab883bd inline method: do not check for inaccessibility if referenced member would be also inlined (IDEA-78941 ) 2011-12-16 10:01:03 +01:00
anna f9af2b2245 move instance member (IDEA-78519) 2011-12-16 08:47:12 +01:00
anna e8ccd03fa2 extract method object: order moved methods by usages; write access (IDEA-78847) 2011-12-14 12:59:29 +01:00
Alexey Kudravtsev 9a6cf70a00 run refactoring tests outside the write action and get rid of testRun() 2011-12-14 12:24:10 +04:00
anna 55611fe9ad extract class: constructor params (IDEA-73788 ) 2011-12-06 15:54:52 +01:00
anna b56abcfae9 inplace members rename tests
(cherry picked from commit 9db66026eb65ef943da08f6dcf42b0f2a80fe03e)
2011-12-06 10:38:33 +01:00
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