CompositePointcut
OrPointcut combines multiple pointcuts with a logical OR. This means that
this pointcut captures a given join point if at least one of its contained pointcuts
captures the given join point.
This pointcut expects a string representation as parameter on construction. Such
a string representation may look something like this:
execution(org.as2lib.env.Logger.*) || execution(org.as2lib.reflect.*.*)
new OrPointcut()public function captures(joinPoint:JoinPoint):Boolean
Checks whether this pointcut captures the given joinPoint. The
joinPoint is captured if at least one sub-pointcut of this pointcut
captures it.
false will be returned if:
joinPoint is null or undefined. joinPoint.joinPoint | the join point to check whether it is captured by this pointcut |
true if this pointcut captures the given joinPoint else
false