Klasse StandardShadowMatchImpl

java.lang.Object
org.aspectj.weaver.reflect.StandardShadowMatchImpl
Alle implementierten Schnittstellen:
ShadowMatch

public class StandardShadowMatchImpl extends Object implements ShadowMatch
Autor:
colyer Implementation of ShadowMatch for reflection based worlds.
  • Konstruktordetails

  • Methodendetails

    • setWithinCode

      public void setWithinCode(ResolvedMember aMember)
    • setSubject

      public void setSubject(ResolvedMember aMember)
    • setWithinType

      public void setWithinType(ResolvedType aClass)
    • alwaysMatches

      public boolean alwaysMatches()
      Beschreibung aus Schnittstelle kopiert: ShadowMatch
      True iff the pointcut expression will match any join point at this shadow (for example, any call to the given method).
      Angegeben von:
      alwaysMatches in Schnittstelle ShadowMatch
    • maybeMatches

      public boolean maybeMatches()
      Beschreibung aus Schnittstelle kopiert: ShadowMatch
      True if the pointcut expression may match some join points at this shadow (for example, some calls to the given method may match, depending on the type of the caller).

      If alwaysMatches is true, then maybeMatches is always true.

      Angegeben von:
      maybeMatches in Schnittstelle ShadowMatch
    • neverMatches

      public boolean neverMatches()
      Beschreibung aus Schnittstelle kopiert: ShadowMatch
      True iff the pointcut expression can never match any join point at this shadow (for example, the pointcut will never match a call to the given method).
      Angegeben von:
      neverMatches in Schnittstelle ShadowMatch
    • matchesJoinPoint

      public JoinPointMatch matchesJoinPoint(Object thisObject, Object targetObject, Object[] args)
      Beschreibung aus Schnittstelle kopiert: ShadowMatch
      Return the result of matching a join point at this shadow with the given this, target, and args.
      Angegeben von:
      matchesJoinPoint in Schnittstelle ShadowMatch
      Parameter:
      thisObject - the object bound to this at the join point
      targetObject - the object bound to target at the join point
      args - the arguments at the join point
      Gibt zurück:
    • setMatchingContext

      public void setMatchingContext(MatchingContext aMatchContext)
      Beschreibung aus Schnittstelle kopiert: ShadowMatch
      Set a matching context to be used when matching join points.
      Angegeben von:
      setMatchingContext in Schnittstelle ShadowMatch
      Siehe auch: