public interface StandardPointcutExpression
Modifier and Type | Method and Description |
---|---|
boolean |
couldMatchJoinPointsInType(java.lang.Class aClass)
Determine whether or not this pointcut could ever match a join point in the given class.
|
java.lang.String |
getPointcutExpression()
Return a string representation of this pointcut expression.
|
ShadowMatch |
matchesMethodCall(ResolvedMember aMethod,
ResolvedMember withinCode)
Determine whether or not this pointcut matches a method call to the given method, made during the execution of the given
method or constructor.
|
ShadowMatch |
matchesMethodExecution(ResolvedMember aMethod)
Determine whether or not this pointcut matches the execution of a given method.
|
ShadowMatch |
matchesStaticInitialization(ResolvedType aType)
Determine whether or not this pointcut matches the static initialization of the given class.
|
boolean |
mayNeedDynamicTest()
Returns true iff this pointcut contains any expression that might necessitate a dynamic test at some join point (e.g.
|
void |
setMatchingContext(MatchingContext aMatchContext)
Set the matching context to be used for subsequent calls to match.
|
void setMatchingContext(MatchingContext aMatchContext)
MatchingContext
boolean couldMatchJoinPointsInType(java.lang.Class aClass)
aClass
- the candidate classboolean mayNeedDynamicTest()
ShadowMatch matchesMethodExecution(ResolvedMember aMethod)
aMethod
- the method being executedShadowMatch matchesStaticInitialization(ResolvedType aType)
aClass
- the class being statically initializedShadowMatch matchesMethodCall(ResolvedMember aMethod, ResolvedMember withinCode)
aMethod
- the method being calledwithinCode
- the Method or Constructor from within which the call is madejava.lang.String getPointcutExpression()