Klasse JavaSearchMethodNameMatch

java.lang.Object
org.aspectj.org.eclipse.jdt.core.search.MethodNameMatch
org.aspectj.org.eclipse.jdt.internal.core.search.JavaSearchMethodNameMatch

public class JavaSearchMethodNameMatch extends MethodNameMatch
Java Search concrete class for a method name match.
  • Konstruktordetails

    • JavaSearchMethodNameMatch

      public JavaSearchMethodNameMatch(IMethod method, int modifiers)
  • Methodendetails

    • getAccessibility

      public int getAccessibility()
      Beschreibung aus Klasse kopiert: MethodNameMatch
      Returns the accessibility of the declaring type of the method name match
      Angegeben von:
      getAccessibility in Klasse MethodNameMatch
      Gibt zurück:
      the accessibility of the declaring type of the method name which may be IAccessRule.K_ACCESSIBLE, IAccessRule.K_DISCOURAGED or IAccessRule.K_NON_ACCESSIBLE. The default returned value is IAccessRule.K_ACCESSIBLE.
      Siehe auch:
    • getModifiers

      public int getModifiers()
      Beschreibung aus Klasse kopiert: MethodNameMatch
      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.

      Angegeben von:
      getModifiers in Klasse MethodNameMatch
      Gibt zurück:
      the type modifiers
    • getMethod

      public IMethod getMethod()
      Beschreibung aus Klasse kopiert: MethodNameMatch
      Returns a java model method handle. This handle may exist or not, but is not supposed to be null.

      This is a handle-only method as neither Java Model nor classpath initializations are done while calling this method.

      Angegeben von:
      getMethod in Klasse MethodNameMatch
      Gibt zurück:
      the non-null handle on matched java model method.
      Siehe auch:
    • setAccessibility

      public void setAccessibility(int accessibility)
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object