public abstract class TypeNameMatchRequestor
extends java.lang.Object
TypeNameMatchRequestor
collects matches from a searchAllTypeNames
query to a SearchEngine
. Clients must subclass this abstract class and pass an instance to the
SearchEngine#searchAllTypeNames(
char[] packageName,
int packageMatchRule,
char[] typeName,
int typeMatchRule,
int searchFor,
IJavaScriptSearchScope scope,
TypeNameMatchRequestor nameMatchRequestor,
int waitingPolicy,
org.eclipse.core.runtime.IProgressMonitor monitor)
method.
Only top-level and member types are reported. Local types are not reported.
While TypeNameRequestor
only reports type names information (e.g. package, enclosing types, simple name, modifiers, etc.),
this class reports TypeNameMatch
objects instead, which store this information and can return
an IType
handle.
This class may be subclassed by clients.
TypeNameMatch
,
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
Constructor and Description |
---|
TypeNameMatchRequestor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
acceptTypeNameMatch(TypeNameMatch match)
Accepts a type name match (
TypeNameMatch ) which contains top-level or a member type
information as package name, enclosing types names, simple type name, modifiers, etc. |
public abstract void acceptTypeNameMatch(TypeNameMatch match)
TypeNameMatch
) which contains top-level or a member type
information as package name, enclosing types names, simple type name, modifiers, etc.match
- the match which contains all type informationCopyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.