Bug 86817 - Search for references to generic class reports package names in import statements
Summary: Search for references to generic class reports package names in import statem...
Status: RESOLVED DUPLICATE of bug 86596
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 06:42 EST by Markus Keller CLA
Modified: 2005-02-28 09:22 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 Markus Keller CLA 2005-02-28 06:42:17 EST
HEAD

- Have these declarations in a 5.0 project:

class Generic<E> { }
class Ref {
    Generic<Integer> gi= new Generic<Integer>();
    Generic<Double> gd= new Generic<Double>();
}

- Ctrl+H, enter "Generic<Integer>", search for references to type in workspace,
including JRE libraries, *not* case sensitive

-> I get hundreds of matches in import statements where a package name component
contains 'generic' e.g. in org.apache.xalan.xsltc.compiler:

package org.apache.xalan.xsltc.compiler;

import com.ibm.xslt4j.bcel.generic.ConstantPoolGen;
import com.ibm.xslt4j.bcel.generic.INVOKEINTERFACE;
..

final class AbsoluteLocationPath extends Expression {
..
Comment 1 Frederic Fusier CLA 2005-02-28 06:45:08 EST

*** This bug has been marked as a duplicate of 86596 ***