Bug 42402 - OuterClass.this does not appear in code assist of the InnerClass
Summary: OuterClass.this does not appear in code assist of the InnerClass
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1.1   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: 3.0 M9   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 14:00 EDT by Calin Medianu CLA
Modified: 2004-05-18 11:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Calin Medianu CLA 2003-09-02 14:00:42 EDT
Given this code:

public class Enclosing {
public class InnerClass {
	public InnerClass()
	{
		Enclosing a = Enclosing.this;
	}
}}

When I type 'Enclosing.' I do not get .this in the dropdown, I only get .class 
and .InnerClass. However if I type 't', it expands to 'this'.
Comment 1 David Audel CLA 2004-05-10 09:45:47 EDT
This was not proposed because completion token is empty

Fixed and test added 
  CompletionTests#testCompletionKeywordThis15()
Comment 2 Olivier Thomann CLA 2004-05-18 11:05:23 EDT
Verified in 200405180816