Commit Graph
618 Commits
Author SHA1 Message Date
anna 7da45fd74f introduce variable: normalize declaration when necessary (IDEA-94494) 2012-11-08 20:58:56 +01:00
Anna Kozlova b492d490b1 make static: move field initializer to constructor when initializer depends on outer class (IDEA-72738) 2012-11-06 11:32:53 +01:00
anna 53df678ed7 inline: insert cast in foreach stmts when var/initializer was casted with explicit cast conversion (IDEA-73501) 2012-11-05 15:24:38 +01:00
anna 3786644b52 testdata for IDEA-80695 2012-11-05 15:24:37 +01:00
Anna Kozlova 1014434bc1 IDEA-42987 2012-11-01 14:43:01 +01:00
anna af9704ef04 method refs: fix qualifier when static method is moved; show conflict if instance method is moved 2012-10-26 18:59:47 +02:00
anna 5516da73c7 move members: update static imports when methods are overridden (IDEA-93741) 2012-10-26 16:32:06 +02:00
anna 75335192ab move static members: correct result ref (IDEA-93582) 2012-10-25 15:52:43 +02:00
anna bfef30ff03 extract method: do not fold params by default when they are used inside conditional stmts (IDEA-92815) 2012-10-18 17:30:55 +02:00
anna 9598ba568c make method static: add parameter when method was used in method reference (IDEA-93138) 2012-10-18 13:45:04 +02:00
Anna Kozlova 58d7db1d6f extract method object: wrap if/loop bodies in {} when needed (IDEA-92156) 2012-10-13 18:51:26 +02:00
anna 7d4be5d223 surround lambda/method refs with cast when inline in expression list (IDEA-92742) 2012-10-10 17:19:44 +02:00
Roman Shevchenko 0dc1191c25 IDEA-92588 (check for AutoCloseable on interface extraction) 2012-10-10 10:35:51 +02:00
Roman Shevchenko 37941c490f Cleanup 2012-10-10 09:44:36 +02:00
anna 30feb7255d method refs: rename methods 2012-10-05 11:11:06 +02:00
anna 6e0e9009df method ref: hide spaces around dbl colon by default 2012-09-27 12:26:00 +02:00
anna 9c4f5ddb11 method refs: test data fixed according to code style 2012-09-26 20:37:21 +02:00
anna 71eb8ec93e method ref: introduce method ref variable; accept method ref type separately 2012-09-25 19:47:03 +02:00
anna 97b9fbee9a method ref: inline method ref in qualifier place; do not treat cast as redundant there 2012-09-25 19:47:02 +02:00
anna 2b84533a1f inline: discard inline of variable with initializer in try/catch (IDEA-90390) 2012-09-25 09:38:33 +02:00
anna 8460c087ba move instance method: correct this refs inside local classes 2012-09-20 17:47:01 +02:00
anna 6e2ed54422 expected types with prefix/postfix invalid expr fixed (EA-39226 - assert: ExpectedTypesProvider.createInfoImpl) 2012-09-19 12:08:49 +02:00
Roman Shevchenko 908de0d6a2 IDEA-91679 (same, for push up) 2012-09-18 19:34:22 +02:00
Roman Shevchenko b4cf161740 Cleanup 2012-09-18 19:34:22 +02: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 21a0d8565e simplify ? extends Object (IDEA-91631; IDEA-91144) 2012-09-18 12:46:54 +02:00
Anna Kozlova a9d8837b82 inline: try to insert cast when conditional expr is inlined (IDEA-91288) 2012-09-13 22:11:29 +04:00
Anna Kozlova 4a7e7d24a8 make method static: do not pass class param for static inner class (IDEA-90720) 2012-09-13 15:16:44 +04:00
Anna Kozlova 50745b4e9f introduce parameter: fix {} array initializer (IDEA-91467) 2012-09-13 15:16:43 +04:00
Anna Kozlova 2bdd122955 IDEA-91371 2012-09-12 17:53:29 +04:00
Anna Kozlova 2c5beb00d0 IDEA-91421 2012-09-12 17:53:28 +04:00
Anna Kozlova 9ddff21a9c inline inside lambda body (IDEA-91371) 2012-09-12 00:03:41 +04:00
Anna Kozlova e8f211bdd9 extract method: detect used lambda params in selection (IDEA-91345) 2012-09-12 00:03:38 +04:00
Anna Kozlova a2cb71edfe detect duplicates: ignore returns from inner classes/lambdas (IDEA-91087) 2012-09-10 21:43:52 +04:00
Anna Kozlova 5315375de4 inplace rename: do not rename enum constants when constructor was renamed (IDEA-91063) 2012-09-10 21:43:51 +04:00
Anna Kozlova 51aa69e8da inline method to one line lambda: expand to code block when needed (IDEA-91126) 2012-09-06 21:06:52 +04:00
Anna Kozlova 9f014974eb inline field: reuse cast etc from inline variable refactoring (IDEA-91150) 2012-09-06 21:06:51 +04:00
Anna Kozlova 614b14316b introduce variable from one line lambda transforms body to code block (IDEA-91122) 2012-09-06 19:17:11 +04:00
Anna Kozlova a8ea5d4deb introduce variable from one line lambda transforms body to code block (IDEA-91122) 2012-09-06 19:10:15 +04:00
Anna Kozlova 1703f863b8 lambda: correct control flow for lambda body; additional test for IDEA-91076 2012-09-06 14:59:45 +04:00
Anna Kozlova a06512b331 lambda: skip lambda return statements during wrapping method return values (IDEA-91065) 2012-09-06 14:59:44 +04:00
Anna Kozlova 7a15a26cf2 lambda: correct control flow for lambda body (IDEA-91061) 2012-09-06 14:59:43 +04:00
Denis.Zhdanov cbd0fe4e8e IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
Test data is updated
2012-09-06 13:21:42 +04:00
Denis.Zhdanov e76b02dc4e IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. Arrangement API provides 'dependent entries' concept now;
2. Java static and instance initialization blocks are defined to be 'dependent arrangement entries';
3. Corresponding tests are added;
4. Default java arrangement rules are expanded in order to preserve old 'generated class members order';
5. Test data is corrected;
2012-09-06 13:21:41 +04:00
Denis.Zhdanov 4a4aa01505 IDEA-19061 Integrate the Rearranger-plugin into core-IDEA
1. 'Constructor' entry type is defined and supported at java rearranger;
2. Test data fixes;
2012-09-06 13:21:41 +04:00
Anna Kozlova 25456a1938 lambda: add cast if lambda var was inlined in ref expression (IDEA-90879) 2012-09-03 18:27:52 +04:00
Anna Kozlova 4580e8da2a allow to inline array index expression (IDEA-90740) 2012-08-30 13:38:51 +04:00
Anna Kozlova 1791683f27 inplace rename: delegate qualification to the common method (IDEA-90679) 2012-08-28 14:59:10 +04:00
Anna Kozlova 2956c09aff testdata fixed according to new code style 2012-08-27 20:37:38 +04:00