public abstract class MethodNameMatchRequestor extends Object
MethodNameMatchRequestor
collects matches from a searchAllMethodNames
query to a SearchEngine
. Clients must subclass this abstract class and pass an instance to the
SearchEngine.searchAllMethodNames(
char[] packageName,
int pkgMatchRule,
char[] declaringQualification,
int declQualificationMatchRule,
char[] delcaringSimpleName,
int declSimpleNameMatchRule,
char[] methodName,
int methodMatchRule,
IJavaSearchScope scope,
MethodNameMatchRequestor methodRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor)
method.
While MethodNameRequestor
only reports method names information (e.g. package, enclosing types, method name, modifiers, etc.),
this class reports MethodNameMatch
objects instead, which store this information and can return
an IMethod
handle.
This class may be subclassed by clients.
MethodNameMatch
,
MethodNameRequestor
Constructor and Description |
---|
MethodNameMatchRequestor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
acceptMethodNameMatch(MethodNameMatch match)
Accepts a method name match (
MethodNameMatch ) which contains a method
information as package name, enclosing types names, method name, modifiers, etc. |
public abstract void acceptMethodNameMatch(MethodNameMatch match)
MethodNameMatch
) which contains a method
information as package name, enclosing types names, method name, modifiers, etc.match
- the match which contains all method information
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.