Package org.eclipse.jdt.core.search
Class TypeNameMatchRequestor
- java.lang.Object
-
- org.eclipse.jdt.core.search.TypeNameMatchRequestor
-
- Direct Known Subclasses:
TypeNameMatchCollector
public abstract class TypeNameMatchRequestor extends Object
ATypeNameMatchRequestor
collects matches from asearchAllTypeNames
query to aSearchEngine
. Clients must subclass this abstract class and pass an instance to theSearchEngine.searchAllTypeNames( char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope 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 reportsTypeNameMatch
objects instead, which store this information and can return anIType
handle.This class may be subclassed by clients.
- Since:
- 3.3
- See Also:
TypeNameMatch
,TypeNameRequestor
-
-
Constructor Summary
Constructors Constructor Description TypeNameMatchRequestor()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
acceptTypeNameMatch
public 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.- Parameters:
match
- the match which contains all type information
-
-