Community
Participate
Working Groups
This is with Eclipse SDK R3.1 on Linux/GTK using Sun JDK 1.5. I've tried this from a brand spanking new workspace too. Add org.eclipse.jdt.*, org.eclipse.platform.*, org.eclipse.runtime.*, org.eclipse.ui.* to your Java search path. Search for references to constructors of org.eclipse.ui.part.FileEditorInput(*). Put the search results into Flat Layout mode. Note that the search results include constructors for * org.eclipse.ui.actions.OpenFileAction * org.eclipse.ui.actions.OpenSystemEditorAction * org.eclipse.ui.actions.OpenWithMenu * org.eclipse.jdt.ui.ProblemsLabelDecorator * org.eclipse.search.internal.ui.text.ReplaceDialog2 * org.eclipse.jdt.iternal.corext.textmanipulation.TextBufferFactory * org.eclipse.ui.editors.text.TextFileDocumentProvider But none of these constructors create an instance of FileEditorInput. Nor do they inherit from FileEditorInput. I had wondered whether the search results included all constructors for the declaring types of the methods matched, but it doesn't appear so.
Unfortunately, there's nothing search engine can do in this case. The reported invalid matches are super references which can be filtered by search engine as there's no binding on compilation unit of Java search path plugins (see bug 83716 comment 7 and bug 83716 comment 9 for details). We currently prefer reporting those invalid matches than miss some real potential ones...
Of course, in previous comment you should read: The reported invalid matches are super references which CANNOT be filtered by search engine...