Bug 8696 - Code assist doesn't work in initializer of anonymous inner class
Summary: Code assist doesn't work in initializer of anonymous inner class
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P2 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-29 14:38 EST by Peter Burka CLA
Modified: 2002-02-11 06:47 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Burka CLA 2002-01-29 14:38:15 EST
Enter the following class into Eclipse:

package foo;
public class Bar {
	public static void main(String[] args) {
		new Object() {
			{ this. }	
		};
	}
}

Place your cursor after the 'this.' and press Ctrl+space.
Code assist fails to offer any suggestions.

If the inner class in not anonymous, code assist works as expected.

(Tested against 20020125 build)
Comment 1 Peter Burka CLA 2002-01-29 14:41:21 EST
Worse, code assist seems not to work properly after an instance initializer in 
an anonymous innner class, even in code outside of the initializer.
Comment 2 David Audel CLA 2002-02-11 06:47:45 EST
Fixed