Commit Graph
26 Commits
Author SHA1 Message Date
anna d4d1685828 EA-33530 - AIOOBE: ExtractMethodProcessor.doExtract 2012-02-07 11:42:54 +01:00
Anna Kozlova 7d870ed603 remove redundant casts when extract changed parameter type accordingly (IDEA-79743) 2012-02-02 11:03:55 +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 34151b68df EA-26767 - NPE: ExtractMethodProcessor.doRefactoring 2011-06-30 12:39:17 +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 409d5b026b extract method: correct extraction with leading comment 2011-03-11 16:53:04 +01:00
anna bc30469828 extract method: search deep for type parameters used in extracted fragment 2011-02-16 09:48:36 +01:00
anna 9b28b9cf01 extract method: pre/post expressions checks fixed (IDEA-65476 ) 2011-02-14 14:14:32 +01:00
anna e68e835f94 EA-25055 - NPE: ExtractMethodProcessor.addToMethodCallLocation 2011-02-10 15:36:15 +01:00
anna fa41e76126 extract method from expression: declare necessary variables inside; reassign result when it was assigned before (IDEA-63593) 2010-12-29 16:21:13 +03:00
anna eee43e56f4 extract method: correct cast inserted 2010-11-18 12:18:51 +03:00
anna 0f0adb32b7 do not suggest child type if instanceof inside selected block; if child type suggested then insert cast in method call 2010-11-11 14:17:57 +03:00
anna 72707aa169 extract method: exclude unused type parameters mentioned in return type (IDEA-58456) 2010-10-26 12:19:35 +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 c899f8f467 extract method: do not double parameters 2010-07-09 20:03:29 +04:00
anna 48913eb2fe extract method: null checks should not miss final modifiers ( IDEA-55515 ) 2010-06-04 12:00:44 +04:00
anna 5c6d20dc4e extract method: do not declare variables after call with local class defined in extracted method (IDEA-46775) 2010-05-26 13:28:38 +04:00
anna 0007ada693 extract method: reduce varargs to component type when weaker return type is prepared ( IDEA-54953 ) 2010-05-14 20:04:59 +04:00
anna 2293b5a5a7 extract method: inline output variable if it is returned right after creation ( IDEA-54490 ) 2010-05-06 21:01:23 +04:00
anna 9b301801a6 do not fold parameters if folded expression depends on local variables ( IDEA-54488 ) 2010-05-06 21:01:22 +04:00
anna 4ec2dc9e30 stop folding before statement is reached (IDEA-51711) 2010-01-22 20:41:05 +03:00
anna ca159ebec2 AIOOBE 2009-12-23 13:31:40 +03:00
anna 29ad3e617c extract method: break&continue statements inside selected cycle should not treated as exit statements from method 2009-10-19 21:31:55 +04:00
Alexey Kudravtsev b6f59a2620 IDEADEV-40411 2009-09-16 18:29:54 +04:00
Dmitry Jemerov 813f3538dd fix ExtractMethodTest for CE 2009-09-11 16:17:56 +04:00
Dmitry Jemerov b7e66aee44 test++ 2009-09-10 20:21:16 +04:00