Klasse MethodNameMatch
java.lang.Object
org.aspectj.org.eclipse.jdt.core.search.MethodNameMatch
- Bekannte direkte Unterklassen:
JavaSearchMethodNameMatch
A match collected while
searching for
all type names methods using a requestor.
The method of this match is available from getMethod().
- Seit:
- 3.12
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract intReturns the accessibility of the declaring type of the method name matchabstract IMethodReturns a java model method handle.abstract intReturns the modifiers of the matched method.
-
Konstruktordetails
-
MethodNameMatch
public MethodNameMatch()
-
-
Methodendetails
-
getAccessibility
public abstract int getAccessibility()Returns the accessibility of the declaring type of the method name match- Gibt zurück:
- the accessibility of the declaring type of the method name which may be
IAccessRule.K_ACCESSIBLE,IAccessRule.K_DISCOURAGEDorIAccessRule.K_NON_ACCESSIBLE. The default returned value isIAccessRule.K_ACCESSIBLE. - Siehe auch:
-
getModifiers
public abstract int getModifiers()Returns the modifiers of the matched method.This is a handle-only method as neither Java Model nor classpath initialization is done while calling this method.
- Gibt zurück:
- the type modifiers
-
getMethod
Returns a java model method handle. This handle may exist or not, but is not supposed to benull.This is a handle-only method as neither Java Model nor classpath initializations are done while calling this method.
- Gibt zurück:
- the non-null handle on matched java model method.
- Siehe auch:
-