Bug 227546 - [assist] No method declaration completion in enum constant
Summary: [assist] No method declaration completion in enum constant
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 09:26 EDT by Philipe Mulet CLA
Modified: 2008-04-29 06:37 EDT (History)
2 users (show)

See Also:


Attachments
Proposed fix (4.13 KB, patch)
2008-04-23 09:13 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2008-04-17 09:26:38 EDT
Build 3.4M6

When invoking codeassist in following code, no method decl completion is proposed:

public class X {
	public enum E implements Runnable {
		SUCCESS { <CODEASSIST HERE> };
	}
}
Comment 1 David Audel CLA 2008-04-23 09:13:02 EDT
Created attachment 97216 [details]
Proposed fix
Comment 2 David Audel CLA 2008-04-23 09:19:14 EDT
Released for 3.4M7.

Tests added
  CompletionParserTest2#test0174_Diet() -> test0177_Diet()
  GenericsCompletionParserTest#test0218_Diet()
Comment 3 Eric Jodet CLA 2008-04-29 06:37:43 EDT
Verified for 3.4M7 using I20080427-2000.