Bug 33653 - Relevance - should privilege type not needing qualification
Summary: Relevance - should privilege type not needing qualification
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-03 08:07 EST by Philipe Mulet CLA
Modified: 2003-03-10 06:45 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 Philipe Mulet CLA 2003-03-03 08:07:11 EST
Build 20030227

When defining following method in MethodScope, TypeDeclaration from compiler 
ast package should be proposed before the DOM one.

	void foo(){
		if (referenceContext instanceof TypeDeclaration<CODEASSIST HERE>
	}
Comment 1 David Audel CLA 2003-03-03 11:36:39 EST
Simple test case:
---------------------
import p.*;
import p.X;
public class X {
  void foo(){
    Y
  }
}
---------------------
package p;
public class Y {
}
---------------------
package q;
public class Y {
}
---------------------

Comment 2 David Audel CLA 2003-03-03 12:40:28 EST
Fixed.
Comment 3 David Audel CLA 2003-03-10 06:45:58 EST
Verified.