Commit Graph

314 Commits

Author SHA1 Message Date
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
anna
e68e835f94 EA-25055 - NPE: ExtractMethodProcessor.addToMethodCallLocation 2011-02-10 15:36:15 +01:00
Roman Shevchenko
c8bcece45f IDEA-63358 (references search in incomplete code) 2011-01-27 10:35:34 +01:00
anna
a6e6122719 inline: find this ref corresponding to static imports (IDEA-64508) 2011-01-24 18:39:41 +01:00
anna
434aba1728 rename method: conflict on final override (IDEA-63845) 2011-01-17 17:42:09 +01:00
anna
35a7143b52 extract method object: do not process inner classes return statements (IDEA-63806) 2011-01-14 17:42:55 +01:00
anna
58c376fcde extract method object from expression: declare necessary variables after call to replace invoke() with correct getter 2010-12-29 16:21:13 +03: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
8ada522a72 safe delete unused static imports (IDEA-62051) 2010-12-28 14:37:20 +03:00
anna
77009d153e allow to delete unused params if replaceAll is selected (IDEA-62186) 2010-12-22 22:25:21 +03:00
anna
0654693bcf inline methods: delete static imports on method delete (IDEA-62126) 2010-12-22 22:25:20 +03:00
anna
852773cbe4 allow to introduce constant from this/super expressions (IDEA-63085) 2010-12-22 19:41:58 +03:00
anna
cb7ccebc23 initialize in setup: add field initialization instead of variable declaration (IDEA-62451) 2010-12-08 12:40:10 +03:00
anna
ba1cd24643 replace constructor with builder: do not suggest to default chain constructor params 2010-11-25 22:24:23 +03:00
anna
cd5b299bf4 add setup method before first test method: setting needed? (IDEA-61605) 2010-11-25 16:21:55 +03:00
anna
9d03d64288 do not introduce field before this/super call (IDEA-56011) 2010-11-23 11:48:17 +03:00
anna
507d46e114 rename: do not conflict if class type parameter and type param defined inside class in static context (IDEA-57427) 2010-11-19 12:07:03 +03:00
anna
eee43e56f4 extract method: correct cast inserted 2010-11-18 12:18:51 +03:00
anna
0c79b901e1 extract method object: created object name should be unique (suggestion) 2010-11-15 16:54:59 +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
1e430d23b5 pull up: protect pulled class private members (IDEA-60729) 2010-11-10 19:02:25 +03:00
anna
841785ad83 rename local variable: survive after inplace rename (e.g. when accept typo quick fix); test 2010-11-02 14:48:33 +03:00
anna
fe83d89f0d move inner: moved class should be checked if it contains inaccessible refs (IDEA-60450) 2010-10-29 15:02:01 +04:00
anna
4b89145451 cs: do not compare parameters length of caller and primary method's old parameter idx (IDEA-58352) 2010-10-28 11:50:36 +04:00
anna
0d47b0f720 cs: use any var in declaration statement fixed (IDEA-58344) 2010-10-26 12:19:37 +04:00
anna
950399fc9b cs: pass this as default value when anyVar is selected and this type would be applicable (IDEA-59510) 2010-10-26 12:19:36 +04:00
anna
df27175e05 change signature: process first param spacing (IDEA-59817) 2010-10-26 12:19:35 +04:00
anna
72707aa169 extract method: exclude unused type parameters mentioned in return type (IDEA-58456) 2010-10-26 12:19:35 +04:00