Commit Graph
486 Commits
Author SHA1 Message Date
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
Anna Kozlova 9558ec4df4 introduce injected fragment as string (IDEA-90322) 2012-08-22 20:48:09 +04:00
Anna Kozlova 7f7ce8da4d inplace introduce: insert whitespace before template if needed (IDEA-87487) 2012-08-16 16:23:47 +04:00
Anna Kozlova 6349bb8af8 extract method: collect used type params from method on the same level as a new method 2012-08-15 22:08:48 +04:00
Anna Kozlova a87a832ccf migration: support multiple entries in migration set (IDEA-90186) 2012-08-15 14:38:09 +04:00
Anna Kozlova 5ba5425a54 lambda: infer from return type; cyclic inference stop 2012-08-13 11:29:40 +04:00
Anna Kozlova 104ba933e6 testdata fixed? 2012-08-09 12:03:02 +04:00
Anna Kozlova 680584dc92 move members: restore anchors 2012-08-08 21:34:41 +04:00
anna 4cdf6d94de check for conflicts with escalate visibility setting on (IDEA-88719) 2012-08-01 16:54:11 +02:00
anna 10f113df0a introduce variable: correctly detect anchor to insert variable declaration near for statement (IDEA-89351) 2012-08-01 12:27:01 +02:00
anna ecb0f64aa1 name suggestions: skip pluralization when component type is the same as original (IDEA-89143) 2012-07-31 16:51:28 +02:00
anna 146765a32b introduce field from lambda expr test 2012-07-24 17:51:53 +02:00
anna 445fe5c251 lambda: inline lambda initialized vars 2012-07-24 17:51:53 +02:00
anna e0cad5f568 introduce variable from lambda expression 2012-07-24 17:51:51 +02:00
anna 858a95e9bd inplace introduce: do not select the typed name on template restart (IDEA-69477) 2012-07-24 15:15:04 +02:00
anna 40006957a2 inline: replace type elements in order (IDEA-88882) 2012-07-16 20:11:15 +02:00
anna 41932a9527 inline: do not delete call but warn when resulted expr is not a valid statement (IDEA-88886) 2012-07-16 19:20:51 +02:00
anna 7de8a25c0b introduce variable: forbid duplicate replacement in for statement condition (IDEA-88758) 2012-07-13 16:07:25 +02:00
anna b47bf7ece1 move instance member: disable visibility change when move into interface; insert @override if needed (IDEA-88471) 2012-07-09 13:39:03 +02:00
anna 961086a6d1 do not skip control flow for unreachable code (IDEA-87654) 2012-07-05 11:02:17 +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 399ca4050a online change signature: preserve signature formatting (IDEA-77097) 2012-06-19 14:04:28 +04:00
Anna Kozlova 0b801de6e9 change signature: allow to add multiple params without default values (IDEA-77339) 2012-06-19 14:04:27 +04:00
Anna Kozlova 51b6f9e052 change signature: preserve param javadoc when name was changed (IDEA-87521) 2012-06-18 19:03:39 +04:00
Anna Kozlova 2d25763038 do not introduce from q.selection (IDEA-87461) 2012-06-15 17:48:25 +04:00
Anna Kozlova 7d414e9817 convert anonymous to inner: collapse diamonds (IDEA-87265) 2012-06-13 11:40:34 +04:00
Anna Kozlova 685e33675c convert anonym to inner: ignore used type params as they would be propagated anyway (IDEA-87171) 2012-06-09 21:31:06 +04:00
Anna Kozlova 173cb1f7ca inline this() as method inside the constructor for non chained constructors (IDEA-87111) 2012-06-09 16:11:11 +04:00
Anna Kozlova e0015d4888 change signature: do not show conflicts about non-changed param names 2012-06-09 16:11:10 +04:00
Anna Kozlova 55f930a0e1 change signature: substitute param types according to class hierarchy (IDEA-87146) 2012-06-08 20:39:43 +04:00
Anna Kozlova da14fb5c42 merge pulled interfaces (IDEA-87191) 2012-06-08 20:39:42 +04:00
Anna Kozlova 78cf87d2c8 do not replace diamonds without necessity (IDEA-87172) 2012-06-08 16:07:19 +04:00
Anna Kozlova 0b59d19a7c inline method/constant: warn when method is used in javadoc (IDEA-72562); add search in comments and strings/for text occurrences options 2012-06-05 18:09:49 +04:00