public abstract class MethodNameMatch extends Object
searching
for
all type names methods using a requestor
.
The method of this match is available from getMethod()
.
MethodNameMatchRequestor
,
SearchEngine.searchAllMethodNames(char[], int, char[], int, char[], int, char[], int, IJavaSearchScope, MethodNameMatchRequestor, int, org.eclipse.core.runtime.IProgressMonitor)
Constructor and Description |
---|
MethodNameMatch() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getAccessibility()
Returns the accessibility of the declaring type of the method name match
|
abstract IMethod |
getMethod()
Returns a java model method handle.
|
abstract int |
getModifiers()
Returns the modifiers of the matched method.
|
public abstract int getAccessibility()
IAccessRule.K_ACCESSIBLE
, IAccessRule.K_DISCOURAGED
or IAccessRule.K_NON_ACCESSIBLE
.
The default returned value is IAccessRule.K_ACCESSIBLE
.IAccessRule
public abstract int getModifiers()
This is a handle-only method as neither Java Model nor classpath initialization is done while calling this method.
public abstract IMethod getMethod()
null
.
This is a handle-only method as neither Java Model nor classpath initializations are done while calling this method.
IMethod
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.