|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aspectj.weaver.reflect.StandardShadowMatchImpl
public class StandardShadowMatchImpl
Constructor Summary | |
---|---|
StandardShadowMatchImpl(FuzzyBoolean match,
Test test,
ExposedState state,
PointcutParameter[] params)
|
Method Summary | |
---|---|
boolean |
alwaysMatches()
True iff the pointcut expression will match any join point at this shadow (for example, any call to the given method). |
JoinPointMatch |
matchesJoinPoint(java.lang.Object thisObject,
java.lang.Object targetObject,
java.lang.Object[] args)
Return the result of matching a join point at this shadow with the given this, target, and args. |
boolean |
maybeMatches()
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 |
neverMatches()
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(ResolvedMember aMember)
|
void |
setWithinCode(ResolvedMember aMember)
|
void |
setWithinType(ResolvedType aClass)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardShadowMatchImpl(FuzzyBoolean match, Test test, ExposedState state, PointcutParameter[] params)
Method Detail |
---|
public void setWithinCode(ResolvedMember aMember)
public void setSubject(ResolvedMember aMember)
public void setWithinType(ResolvedType aClass)
public boolean alwaysMatches()
ShadowMatch
alwaysMatches
in interface ShadowMatch
public boolean maybeMatches()
ShadowMatch
If alwaysMatches is true, then maybeMatches is always true.
maybeMatches
in interface ShadowMatch
public boolean neverMatches()
ShadowMatch
neverMatches
in interface ShadowMatch
public JoinPointMatch matchesJoinPoint(java.lang.Object thisObject, java.lang.Object targetObject, java.lang.Object[] args)
ShadowMatch
matchesJoinPoint
in interface ShadowMatch
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
public void setMatchingContext(MatchingContext aMatchContext)
ShadowMatch
setMatchingContext
in interface ShadowMatch
MatchingContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |