public class JavaSearchMethodNameMatch extends MethodNameMatch
| Constructor and Description |
|---|
JavaSearchMethodNameMatch(IMethod method,
int modifiers) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessibility()
Returns the accessibility of the declaring type of the method name match
|
IMethod |
getMethod()
Returns a java model method handle.
|
int |
getModifiers()
Returns the modifiers of the matched method.
|
void |
setAccessibility(int accessibility) |
java.lang.String |
toString() |
public JavaSearchMethodNameMatch(IMethod method, int modifiers)
public int getAccessibility()
MethodNameMatchgetAccessibility in class MethodNameMatchIAccessRule.K_ACCESSIBLE, IAccessRule.K_DISCOURAGED
or IAccessRule.K_NON_ACCESSIBLE.
The default returned value is IAccessRule.K_ACCESSIBLE.IAccessRulepublic int getModifiers()
MethodNameMatchThis is a handle-only method as neither Java Model nor classpath initialization is done while calling this method.
getModifiers in class MethodNameMatchpublic IMethod getMethod()
MethodNameMatchnull.
This is a handle-only method as neither Java Model nor classpath initializations are done while calling this method.
getMethod in class MethodNameMatchIMethodpublic void setAccessibility(int accessibility)
public java.lang.String toString()
toString in class java.lang.Object