| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true iff this pointcut may match a join point within(aClass), and false otherwisethe candidate class aClass)Determine whether or not this pointcut could ever match a join point in the given class. |
| public String | |
| public ShadowMatch | Returns: 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.the method being called aMethod, ResolvedMember the Method or Constructor from within which the call is made 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. |
| public ShadowMatch | Returns: a ShadowMatch indicating whether the pointcut always, sometimes, or never matches join points representing the execution of the method.the method being executed aMethod)Determine whether or not this pointcut matches the execution of a given method. |
| public ShadowMatch | Returns: a ShadowMatch indicating whether the pointcut always, sometimes, or never matchs join points representing the static initialization of the given typethe class being statically initialized aType)Determine whether or not this pointcut matches the static initialization of the given class. |
| public boolean | mayNeedDynamicTest()
Returns true iff this pointcut contains any expression that might necessitate a dynamic test at some join point (e.g. args) |
| public void | setMatchingContext(MatchingContext aMatchContext)
Set the matching context to be used for subsequent calls to match. |
| couldMatchJoinPointsInType | back to summary |
|---|---|
| public boolean couldMatchJoinPointsInType(Class<T> aClass) Determine whether or not this pointcut could ever match a join point in the given class.
| |
| getPointcutExpression | back to summary |
|---|---|
| public String getPointcutExpression() Return a string representation of this pointcut expression. | |
| matchesMethodCall | back to summary |
|---|---|
| public 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.
| |
| matchesMethodExecution | back to summary |
|---|---|
| public ShadowMatch matchesMethodExecution(ResolvedMember aMethod) Determine whether or not this pointcut matches the execution of a given method.
| |
| matchesStaticInitialization | back to summary |
|---|---|
| public ShadowMatch matchesStaticInitialization(ResolvedType aType) Determine whether or not this pointcut matches the static initialization of the given class.
| |
| mayNeedDynamicTest | back to summary |
|---|---|
| public boolean mayNeedDynamicTest() Returns true iff this pointcut contains any expression that might necessitate a dynamic test at some join point (e.g. args) | |
| setMatchingContext | back to summary |
|---|---|
| public void setMatchingContext(MatchingContext aMatchContext) Set the matching context to be used for subsequent calls to match.
| |