Package org.aspectj.weaver.reflect
Klasse ShadowMatchImpl
java.lang.Object
org.aspectj.weaver.reflect.ShadowMatchImpl
- Alle implementierten Schnittstellen:
ShadowMatch
- Autor:
- colyer Implementation of ShadowMatch for reflection based worlds.
-
Konstruktorübersicht
KonstruktorBeschreibungShadowMatchImpl
(FuzzyBoolean match, Test test, ExposedState state, PointcutParameter[] params) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
True iff the pointcut expression will match any join point at this shadow (for example, any call to the given method).matchesJoinPoint
(Object thisObject, Object targetObject, Object[] args) Return the result of matching a join point at this shadow with the given this, target, and args.boolean
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).boolean
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).void
setMatchingContext
(MatchingContext aMatchContext) Set a matching context to be used when matching join points.void
setSubject
(Member aMember) void
setWithinCode
(Member aMember) void
setWithinType
(Class<?> aClass)
-
Konstruktordetails
-
ShadowMatchImpl
public ShadowMatchImpl(FuzzyBoolean match, Test test, ExposedState state, PointcutParameter[] params)
-
-
Methodendetails
-
setWithinCode
-
setSubject
-
setWithinType
-
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 SchnittstelleShadowMatch
-
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 SchnittstelleShadowMatch
-
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 SchnittstelleShadowMatch
-
matchesJoinPoint
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 SchnittstelleShadowMatch
- Parameter:
thisObject
- the object bound to this at the join pointtargetObject
- the object bound to target at the join pointargs
- the arguments at the join point- Gibt zurück:
-
setMatchingContext
Beschreibung aus Schnittstelle kopiert:ShadowMatch
Set a matching context to be used when matching join points.- Angegeben von:
setMatchingContext
in SchnittstelleShadowMatch
- Siehe auch:
-