Summary: | [1.8] Support more general to lambda expression conversions (e.g., for loops) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Raffi Khatchadourian <raffi.khatchadourian> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | fabrice.tiercelin, Lars.Vogel, raffi.khatchadourian, sasikanth.bharadwaj, stephan.herrmann |
Version: | 4.4 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin | ||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=431967 | ||
Whiteboard: | |||
Bug Depends on: | 380188 | ||
Bug Blocks: |
Description
Raffi Khatchadourian
2015-03-20 16:47:36 EDT
This is the bug for the GSoC proposal [1], right? Have you seen bug 431967? I'm moving this bug to JDT/UI (which is where refactorings and quick assists are implemented) to facilitate discussion / coordination. [1] https://wiki.eclipse.org/Google_Summer_of_Code_2015_Ideas#JDT_Core:_More_general_convert_to_lambda_expression_Java_8_refactoring.2Fquick_fixes (In reply to Stephan Herrmann from comment #1) > This is the bug for the GSoC proposal [1], right? > > Have you seen bug 431967? > > I'm moving this bug to JDT/UI (which is where refactorings and quick assists > are implemented) to facilitate discussion / coordination. > > > [1] > https://wiki.eclipse.org/Google_Summer_of_Code_2015_Ideas#JDT_Core: > _More_general_convert_to_lambda_expression_Java_8_refactoring.2Fquick_fixes Yes, I currently have a student interested in submitting it for his proposal. (In reply to Stephan Herrmann from comment #1) > This is the bug for the GSoC proposal [1], right? > > Have you seen bug 431967? Ah, no I have not seen that bug! However, I would be hesitant to mark it as a duplicate as the example I give is actually independent of streams. It is certainly related, however. I just wanted to comment on the status of this bug in respect to the GSoC 2015 project progress. My student's code is in a GitHub repo at http://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin. He developed it as a separate plugin with the intention of integrating it into Eclipse later. The project was not completed during the summer. We broke the tasks down into preconditions and transformation. I would say that the preconditions are almost complete but he did not begin the transformation phase. He does, however, have a full refactoring test suite, which he used for TDD. More information can be found in the issue tracker (completed: https://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues?q=is%3Aissue+is%3Aclosed; pending: https://github.com/mdarefin/Convert-For-Each-Loop-to-Lambda-Expression-Eclipse-Plugin/issues). Clean-up / Save action or Quickfix for this conversion would be great and seems available in Netbeans as well as in IntelliJ. |