Commit Graph

434 Commits

Author SHA1 Message Date
anna
90bdbd8764 IDEA-77607 Introduce refactoring looses annotation 2012-01-15 17:58:02 +01:00
Denis.Zhdanov
4b00d00d7f IDEA-79841 Correct indentation after inplace/extract refactoring 2012-01-13 12:06:14 +04:00
Alexey Kudravtsev
d8f813215a some methods annotated by MagicConstant annotations 2012-01-12 16:41:33 +04:00
Alexey Kudravtsev
4fecca4887 cleanup 2011-12-28 13:05:54 +04:00
anna
eaeb6d1257 convert to instance: remove target class parameter javadoc (IDEA-78892 ) 2011-12-20 21:07:02 +01:00
Konstantin Bulenkov
be5e179dab fix rename test 2011-12-19 15:40:37 +01:00
Konstantin Bulenkov
8cb72dd8ba compilation fix after community/ultimate tests refactorings 2011-12-18 14:37:50 +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
Alexey Kudravtsev
73954d4919 notnull 2011-12-07 16:14:13 +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
Roman Shevchenko
ae1d498062 Cleanup 2011-12-01 18:01:05 +01:00
anna
9b372d1e59 suggest unique name with respect to already chosen anchor 2011-11-23 14:11:30 +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
67b5e34725 rename automatically in all tests 2011-11-10 11:12:36 +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
Alexey Kudravtsev
8b9b36fe87 @Override added 2011-10-26 20:20:26 +04:00
Roman Shevchenko
2a6452e0fd Extend and cleanup MultiFileTestCase 2011-10-21 18:15:26 +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
Dmitry Jemerov
c5311aeaf3 java-psi-api and java-psi-impl modules extracted 2011-09-23 19:12:35 +02:00
anna
20b148ea41 root chooser: replace constructor with builder 2011-09-20 17:12:34 +02:00
anna
a3b2a7edda root chooser: wrap return value 2011-09-20 17:12:32 +02:00
anna
e92e60a468 root chooser: extract class; introduce parameter object
inaccessible conflicts added
2011-09-20 17:12:29 +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
43f77cc6ca fix test 2011-09-09 14:19:53 +02:00
anna
96ce896d49 extract method object: do not show dialog under write action (IDEA-74057) 2011-09-09 13:23:04 +02:00
anna
d6970bc9b3 restore escalate visibility for moved members 2011-09-09 10:54:32 +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
Dmitry Jemerov
c4ec687c0d push down more Java specific stuff, remove unnecessary generification 2011-09-05 20:41:12 +02:00