Bug 110322

Summary: Use cases for more AST recovery
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: martinae
Version: 3.2   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.