Commit Graph
618 Commits
Author SHA1 Message Date
anna be9e2fa9f7 testdata fixed 2013-05-06 20:55:21 +02:00
anna bca1f12e1e move members: no need to align according to nested classes (IDEA-106175) 2013-04-25 14:14:50 +02:00
anna 7463ed3c9b inline: accept to inline constant from library (IDEA-106167) 2013-04-25 14:14:49 +02:00
anna b7eff52b83 safe delete: do not insert additional extends item if already present (IDEA-106144) 2013-04-24 20:52:41 +02:00
anna 6100f5a690 extract class: do not warn about usages of statics in class initializers, preserve static imports (IDEA-106017) 2013-04-23 16:53:58 +02:00
anna 1b0f032a13 extract class: leave reference parameters untouched after replacement (IDEA-106017) 2013-04-23 16:53:58 +02:00
anna 5616d066c5 safe delete: more precise check for top level comments (IDEA-105923) 2013-04-22 18:00:29 +02:00
anna 599a28d446 move static to interface (IDEA-105844) 2013-04-22 13:55:13 +02:00
anna ceb9354f15 extract method: duplicates processing fixed (IDEA-105562) 2013-04-17 15:58:52 +02:00
anna 8e189439ca test for IDEA-105455 2013-04-16 14:58:55 +02:00
anna 7d81db930c inplace rename: include nameIdentifier in rename template when no reference covers this identifier 2013-04-15 17:37:44 +02:00
anna 33dee73821 extract enum: do not include constants when user don't ask to; check that variable was already migrated and getter is already not needed (IDEA-103509) 2013-04-12 18:31:06 +02:00
anna 55d981e071 inline: fix qualifier which is inserted to specify type params after inline (IDEA-104536) 2013-04-10 21:34:01 +02:00
anna a9544ca296 move to inner: do not raise a conflict when move class with private inner class (IDEA-104986) 2013-04-10 15:11:51 +02:00
anna feed82a5bd replace constructor with factory: insert class type parameters for default constructor(IDEA-104858) 2013-04-10 12:13:18 +02:00
anna 57081fdd4e introduce parameter: ignore parts of qualified name (IDEA-104485) 2013-04-03 20:01:43 +02:00
anna baa13dac16 introduce variable: suggest method reference expression (IDEA-102852) 2013-03-11 14:53:34 +01:00
anna 5f0b7626de accept inline on method reference (IDEA-102845) 2013-03-11 14:53:33 +01:00
anna f00cc9d530 move members: support for move dependant members (IDEA-102024) 2013-02-28 15:04:44 +01:00
Roman Shevchenko 54a7b4dc70 Deprecated extension method syntax dropped 2013-02-27 20:40:44 +01:00
anna 192adb0c4c introduce: allow to provide checks to filter unacceptable expressions before showing them to user (IDEA-100776) 2013-02-11 11:17:43 +01:00
Anna Kozlova f5abe71123 rename: do not qualify refs to fields with this in static context 2013-01-24 21:18:51 +04:00
Anna Kozlova f4d9788a79 copy flag to reformat when de-qualify 2013-01-21 16:46:23 +04:00
anna 98b70db0a7 extract method object: avoid element invalidation by batch update (IDEA-98365) 2013-01-07 11:45:25 +01:00
anna 946f13a494 extract method: check qualifiers correspondence (IDEA-98515) 2013-01-04 17:47:41 +01:00
Anna Kozlova 7228521cd1 extract method: insert cast when duplicate with changed type processed (IDEA-98396) 2013-01-02 12:45:05 +01:00
anna e47dc7accb extract method object: do not make static when already static (IDEA-98290) 2012-12-31 13:58:17 +01:00
anna 320f89f28c change signature: fix param name hides field (IDEA-98123) 2012-12-31 11:32:58 +01:00
anna c66e1c07b8 inline: do not insert casts when inline conditional expression in statements (IDEA-97902) 2012-12-27 20:14:17 +01:00
anna 55ce55a20e method refs: rename in case of constructor refs fixed 2012-12-18 13:07:30 +01:00
anna 3afa9c526d extract method: add default modifier when extracted into interface (java 8 only) 2012-12-17 21:45:39 +01:00
anna 746ed966f9 extract method: do not suggest to replace duplicates if candidates intersects with extracted method 2012-12-17 21:45:38 +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
anna b8c340ff6b inplace introduce: do not replace identifier with method expr even when ref names equals (IDEA-97536) 2012-12-14 15:31:22 +01:00
anna 032a2a603a introduce field: choose anchor corresponding to used fields without initializer (IDEA-97420) 2012-12-13 15:50:07 +01:00
anna dea70f5fdd correctly check for super call in constructor (IDEA-97203) 2012-12-11 22:02:28 +01:00
anna 7a870adca7 extract method: adjust params to be final in case of local classes (IDEA-97253) 2012-12-11 17:44:20 +01:00
anna 6391d81307 restore new expressions correctly (IDEA-97001) 2012-12-11 16:14:17 +01:00
Max Medvedev dc2ce9522d IDEA-96839 Inline static method refactoring throws UnsupportedOperationException 2012-12-11 13:33:37 +04:00
anna f6e0f4bd7a inline: disable for multiline methods inlined in super/this constructor calls (IDEA-96962) 2012-12-10 12:56:06 +01:00
anna fabf91af4d extract method object: process exit statements as they may contain refs to outer vars (IDEA-96772); disable duplicate extraction 2012-12-06 17:54:16 +01:00
anna 0a0d3b6906 do not warn about visibility of interface methods: they are public 2012-11-30 21:01:28 +01:00
anna 9fa817953c introduce constant: reuse existing inner class when extracting from enum constant (IDEA-95810)
(cherry picked from commit d5a3ed5aded47303990ca4a3bc70d9817428edf7)
2012-11-29 11:53:06 +01:00
anna 135a4dec53 convert to instance method: warn about new visibility 2012-11-29 11:53:01 +01:00
anna f404977664 perform real rename on automatically suggested vars (comment for IDEA-94844) 2012-11-15 14:19:38 +01:00
anna ccb4d4a117 testdata for IDEA-94875 2012-11-14 19:22:02 +01:00
anna 4347e15507 extract: skip comments when no statement is selected but expression can be retrieved (IDEA-91985) 2012-11-13 21:33:15 +01:00
anna 7eabf004f0 extract class: correct reference replacement (IDEA-94288) 2012-11-09 19:23:04 +01:00
anna 2d394e68e7 fix testdata 2012-11-09 19:23:03 +01:00
anna 0a2b36f3d7 change signature: do not multiple javadocs (IDEA-94465) 2012-11-09 17:20:01 +01:00