Klasse StandardPointcutExpressionImpl

java.lang.Object
org.aspectj.weaver.internal.tools.StandardPointcutExpressionImpl
Alle implementierten Schnittstellen:
StandardPointcutExpression

public class StandardPointcutExpressionImpl extends Object implements StandardPointcutExpression
Map from weaver.tools interface to internal Pointcut implementation...
  • Konstruktordetails

  • Methodendetails

    • getUnderlyingPointcut

      public Pointcut getUnderlyingPointcut()
    • setMatchingContext

      public void setMatchingContext(MatchingContext aMatchContext)
      Beschreibung aus Schnittstelle kopiert: StandardPointcutExpression
      Set the matching context to be used for subsequent calls to match.
      Angegeben von:
      setMatchingContext in Schnittstelle StandardPointcutExpression
      Siehe auch:
    • couldMatchJoinPointsInType

      public boolean couldMatchJoinPointsInType(Class aClass)
      Beschreibung aus Schnittstelle kopiert: StandardPointcutExpression
      Determine whether or not this pointcut could ever match a join point in the given class.
      Angegeben von:
      couldMatchJoinPointsInType in Schnittstelle StandardPointcutExpression
      Parameter:
      aClass - the candidate class
      Gibt zurück:
      true iff this pointcut may match a join point within(aClass), and false otherwise
    • mayNeedDynamicTest

      public boolean mayNeedDynamicTest()
      Beschreibung aus Schnittstelle kopiert: StandardPointcutExpression
      Returns true iff this pointcut contains any expression that might necessitate a dynamic test at some join point (e.g. args)
      Angegeben von:
      mayNeedDynamicTest in Schnittstelle StandardPointcutExpression
    • matchesMethodExecution

      public ShadowMatch matchesMethodExecution(ResolvedMember aMethod)
      Beschreibung aus Schnittstelle kopiert: StandardPointcutExpression
      Determine whether or not this pointcut matches the execution of a given method.
      Angegeben von:
      matchesMethodExecution in Schnittstelle StandardPointcutExpression
      Parameter:
      aMethod - the method being executed
      Gibt zurück:
      a ShadowMatch indicating whether the pointcut always, sometimes, or never matches join points representing the execution of the method.
    • matchesConstructorExecution

      public ShadowMatch matchesConstructorExecution(Constructor aConstructor)
    • matchesStaticInitialization

      public ShadowMatch matchesStaticInitialization(ResolvedType aType)
      Beschreibung aus Schnittstelle kopiert: StandardPointcutExpression
      Determine whether or not this pointcut matches the static initialization of the given class.
      Angegeben von:
      matchesStaticInitialization in Schnittstelle StandardPointcutExpression
      Parameter:
      aType - the class being statically initialized
      Gibt zurück:
      a ShadowMatch indicating whether the pointcut always, sometimes, or never matchs join points representing the static initialization of the given type
    • matchesMethodCall

      public ShadowMatch matchesMethodCall(ResolvedMember aMethod, ResolvedMember withinCode)
      Beschreibung aus Schnittstelle kopiert: StandardPointcutExpression
      Determine whether or not this pointcut matches a method call to the given method, made during the execution of the given method or constructor.
      Angegeben von:
      matchesMethodCall in Schnittstelle StandardPointcutExpression
      Parameter:
      aMethod - the method being called
      withinCode - the Method or Constructor from within which the call is made
      Gibt zurück:
      a ShadowMatch indicating whether the pointcut always, sometimes, or never matches join points representing a call to this method during the execution of the given member.
    • getPointcutExpression

      public String getPointcutExpression()
      Beschreibung aus Schnittstelle kopiert: StandardPointcutExpression
      Return a string representation of this pointcut expression.
      Angegeben von:
      getPointcutExpression in Schnittstelle StandardPointcutExpression