Bug 481515

Summary: [open type] Let wildcards extend beyond package names
Product: [Eclipse Project] JDT Reporter: Lukas Eder <lukas.eder>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Lukas Eder CLA 2015-11-05 10:18:46 EST
In the Open Type dialog, I'd like to type things like:

  *util*List

I would expect this to match all the List types in java.util (and other util(s) packages), e.g. java.util.ArrayList, java.util.LinkedList.

However, this is not the case. It matches only types that have util*List in their type names, or in their package names. For instance:

  java.beans.java_util_AbstractList_PersistenceDelegate
  ****************util*********List

In order to find the wanted types, I have to type

  *util.*List

I find this unexpected and inconsistent, for instance with the fact that the leading asterisk still matches java.util (2 package names), and the second asterisk still matches things like "java.util.Arrays.ArrayList" (2 type names)