Bug 110322 - Use cases for more AST recovery
Summary: Use cases for more AST recovery
Status: VERIFIED DUPLICATE of bug 42253
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 10:13 EDT by Dirk Baeumer CLA
Modified: 2006-02-15 11:43 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2005-09-22 10:13:10 EDT
As discussed at the JDT summit here some use cases for AST recovery.

- statement recovery
  
  foo() ==> foo();

- method invocation recovery

  foo(10, ==> foo(10) or foo(10, null, ...) where null is the default value for
  the missing parameters.

  Having this recovery allows selecting 10 and extract it to a local or method
  without completing the invocation.
Comment 1 Tobias Widmer CLA 2005-09-22 10:50:02 EDT
- anonymous class recovery

Runnable runnable= new Runnable() {
   ru<Ctrl+Space>
}

should still return node and binding for anonymous class
Comment 2 Dirk Baeumer CLA 2005-09-22 10:54:46 EDT

*** This bug has been marked as a duplicate of 42253 ***
Comment 3 Frederic Fusier CLA 2006-02-15 11:43:09 EST
Verified for 3.2 M5 using build I20060215-0010.