Commit Graph
37 Commits
Author SHA1 Message Date
Anna.Kozlova b649b3a511 pull up from anonymous: check for base class type instead of extends list 2016-07-20 18:23:02 +02:00
Anna Kozlova 1ca92851e8 pull up: fix search by signature in superclass (IDEA-140710) 2016-05-25 18:40:17 +03:00
Anna.Kozlova 0936ad00fd pull up conflicts if moved method uses members from outer class not accessible in the super (IDEA-151942) 2016-04-27 11:10:23 +02:00
Anna.Kozlova 1dc6f156cf pull up default method: leave as is if pulled as abstract (IDEA-151756) 2016-04-27 11:10:23 +02:00
Anna Kozlova e1f2670f5a check methods moved to interface as default (IDEA-151809) 2016-02-19 20:30:26 +01:00
Anna Kozlova 3d5df4668d pull up: ensure abstract method contains non-contradicting modifiers (IDEA-144043) 2015-08-24 15:30:45 +03:00
Anna Kozlova 9ce5f869de pull up: don't prepare for interface if pull up to class (IDEA-144043) 2015-08-18 19:15:25 +02:00
Anna Kozlova 0c0d95fbc9 SOE (IDEA-142291) 2015-07-06 15:56:21 +03:00
Anna Kozlova 5d55388ef9 pull up: ensure substituted (IDEA-140710) 2015-05-26 13:15:11 +02:00
Anna Kozlova 5b62d34d11 switch context when get to anonymous class so access to the inherited members should not be raised as a conflict; super expression 2015-01-20 15:42:48 +01:00
Anna Kozlova 64894391ea switch context when get to anonymous class so access to the inherited members should not be raised as a conflict 2015-01-20 11:13:06 +01:00
Anna Kozlova d60840ee4f cleanup 'public' modifier from the interface on "pull default method" (IDEA-135292) 2015-01-19 12:06:50 +01:00
Anna Kozlova aea7066c18 allow to pull methods in super interface as default ones when super interface already contains a method with the same signature; remove @Override in such case (IDEA-126988) 2014-07-18 10:34:56 +02:00
Anna Kozlova 172a01d226 functional expressions & @FunctionalInterface based conflicts for pull up/push down refactorings 2014-04-08 12:18:35 +02:00
Anna Kozlova e55748fe63 functional expressions: pull up conflicts 2014-04-08 12:18:34 +02:00
Anna Kozlova da48448b83 pull up: ignore conflicts coming from access object when it is also moved (IDEA-117671) 2013-12-06 17:26:22 +01:00
Anna Kozlova 48205f5c1d IDEA-112562 Pull up should allow to pull method body into interface as default method 2013-08-30 21:45:06 +04:00
Anna Kozlova 1f30fd93fe pull up: try to guess position in the superclass (IDEA-108025) 2013-06-03 14:20:57 +04:00
Roman Shevchenko 54a7b4dc70 Deprecated extension method syntax dropped 2013-02-27 20:40:44 +01:00
anna 762fce13c9 pull up: delete @Override annotation if it is inappropriate in new hierarchy (IDEA-97598) 2012-12-17 19:06:13 +01:00
Roman Shevchenko b12e3b2b7e IDEA-91679 (correct conversion of extension methods) 2012-09-18 19:34:21 +02:00
Roman Shevchenko a252f9352a Cleanup 2012-09-18 19:34:21 +02:00
anna 4cdf6d94de check for conflicts with escalate visibility setting on (IDEA-88719) 2012-08-01 16:54:11 +02:00
Anna Kozlova 4b5ba694dc pull up: postpone type params replacement: substituted types can contain type params from base class with names that exist in current class (IDEA-87543) 2012-06-19 14:04:30 +04:00
Anna Kozlova da14fb5c42 merge pulled interfaces (IDEA-87191) 2012-06-08 20:39:42 +04: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 b01b21b30f rationalize static method calls after pull up 2011-09-02 19:25:58 +02:00
anna e32cc3c855 replace duplicates when pull methods up 2011-06-20 21:21:07 +04:00
anna 1e430d23b5 pull up: protect pulled class private members (IDEA-60729) 2010-11-10 19:02:25 +03:00
unknownandanna 862c964a70 pull up conflicts: do not warn if moved method would use super instead (IDEA-56212) 2010-07-05 14:55:32 +04:00
anna 2504abd6be pull up: static class references should NOT be updated if that classe was pulled as well 2010-06-04 12:00:42 +04:00
anna 04fdd69cc1 pull up/push down: type parameters substitution should modify member copy (IDEA-53496) 2010-04-14 18:32:38 +04:00
anna d95d359eeb pull up: erasure type parameters or try to substitute (IDEA-53490) 2010-04-14 18:32:36 +04:00
anna 6383243722 pull up: do not rise a conflict if pulled method uses method which would be pulled as abstract (IDEADEV-40999) 2009-10-27 12:23:57 +03:00
anna 55b6139dff sort out field initializers 2009-10-12 10:47:41 +04:00
anna 6400ea7cb0 pull up: move field initialization block if possible (IDEADEV-40576) 2009-10-08 20:50:58 +04:00
Dmitry Jemerov 48a701e11e test++ 2009-09-10 20:33:13 +04:00