|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.search.TypeNameMatchRequestor
public abstract class TypeNameMatchRequestor
A 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,
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 reports TypeNameMatch
objects instead, which store this information and can return
an IType
handle.
This class may be subclassed by clients.
TypeNameMatch
,
TypeNameRequestor
Constructor Summary | |
---|---|
TypeNameMatchRequestor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeNameMatchRequestor()
Method Detail |
---|
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 information
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.