Bug 23077 - search: does not find type references in some imports
Summary: search: does not find type references in some imports
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-02 05:46 EDT by Adam Kiezun CLA
Modified: 2002-09-19 06:23 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 Adam Kiezun CLA 2002-09-02 05:46:57 EDT
public class A{
  public class Inner{
    public class InnerInner{
    }   
  }
}


in another cu:
import p.A;
import p.A.Inner;
import p.A.Inner.Inner;
import p.A.*;
import p.A.Inner.*;
import p.A.Inner.Inner.*;

the last 3 imports are never found when searching for references to A, Inner or 
InnerInner
Comment 1 Jerome Lanneluc CLA 2002-09-02 09:16:19 EDT
ReferenceTypePattern was wrongly excluding on demand imports.
Fixed.
Comment 2 Adam Kiezun CLA 2002-09-02 09:19:00 EDT
that was quick!
thanks
Comment 3 David Audel CLA 2002-09-19 06:23:23 EDT
Verified.