Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "JDT Core/Plan/4.8/JEP325"
(Created page with "= Planning page for JDT Implementation of Switch Expressions (JEP 325) for Java 11 = Main tracking bug: To Create == Compiler changes == Changes regarding the compiler: ===...") |
|||
Line 46: | Line 46: | ||
=== Code templates === | === Code templates === | ||
* add switch in templates - 1d | * add switch in templates - 1d | ||
+ | |||
+ | === JDT Debug === | ||
+ | * Expected to have an impact - especially breakpoints - 1w approx |
Revision as of 00:09, 12 February 2018
Contents
Planning page for JDT Implementation of Switch Expressions (JEP 325) for Java 11
Main tracking bug: To Create
Compiler changes
Changes regarding the compiler:
Grammar changes
Switch Expression grammar changes - add bug number This would be a major grammar change effort/time estimate for grammar for around a week
Flow analysis changes
will have flow analysis changes - 3 days.
Type checking
Type inference will have to be dome since switch may be an expression - 7 days?
Error reports
- new error reports. (2 days - in parallel with flow analysis ?)
Code generation
not too much work expected - 2 days
Java Search support
slight change expected - 2d
DOM support
ast changes expected - 3 days.
Content Assist support
- additional place the content assist be applicable - 2 days (opportunistic)
UI Changes
- Switch ASTs to JLS11 (generic - 1d)
Code hover
- Show inferred type of variable - no change expected
Preferences
- Allow JDT UI to target Java 11 in Compiler Preferences - generic (1d in parallel)
Quick fixes
- convert to a switch statement ( 3 DAYS? jdt.ui to comment)
- coalesce two or more case statements to comma separated since coase statements - 4 ays> jdt.ui ? opportunistic
Code templates
- add switch in templates - 1d
JDT Debug
- Expected to have an impact - especially breakpoints - 1w approx