|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.weaver.internal.tools.StandardPointcutExpressionImpl
public class StandardPointcutExpressionImpl
Map from weaver.tools interface to internal Pointcut implementation...
| Nested Class Summary | |
|---|---|
static class |
StandardPointcutExpressionImpl.Handler
|
| Constructor Summary | |
|---|---|
StandardPointcutExpressionImpl(Pointcut pointcut,
java.lang.String expression,
PointcutParameter[] params,
World inWorld)
|
|
| Method Summary | |
|---|---|
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. |
Pointcut |
getUnderlyingPointcut()
|
ShadowMatch |
matchesConstructorExecution(java.lang.reflect.Constructor aConstructor)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardPointcutExpressionImpl(Pointcut pointcut,
java.lang.String expression,
PointcutParameter[] params,
World inWorld)
| Method Detail |
|---|
public Pointcut getUnderlyingPointcut()
public void setMatchingContext(MatchingContext aMatchContext)
StandardPointcutExpression
setMatchingContext in interface StandardPointcutExpressionMatchingContextpublic boolean couldMatchJoinPointsInType(java.lang.Class aClass)
StandardPointcutExpression
couldMatchJoinPointsInType in interface StandardPointcutExpressionaClass - the candidate class
public boolean mayNeedDynamicTest()
StandardPointcutExpression
mayNeedDynamicTest in interface StandardPointcutExpressionpublic ShadowMatch matchesMethodExecution(ResolvedMember aMethod)
StandardPointcutExpression
matchesMethodExecution in interface StandardPointcutExpressionaMethod - the method being executed
public ShadowMatch matchesConstructorExecution(java.lang.reflect.Constructor aConstructor)
public ShadowMatch matchesStaticInitialization(ResolvedType aType)
StandardPointcutExpression
matchesStaticInitialization in interface StandardPointcutExpression
public ShadowMatch matchesMethodCall(ResolvedMember aMethod,
ResolvedMember withinCode)
StandardPointcutExpression
matchesMethodCall in interface StandardPointcutExpressionaMethod - the method being calledwithinCode - the Method or Constructor from within which the call is made
public java.lang.String getPointcutExpression()
StandardPointcutExpression
getPointcutExpression in interface StandardPointcutExpression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||