diff options
author | mkersten <mkersten> | 2003-08-06 12:33:15 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-08-06 12:33:15 +0000 |
commit | 2bd294be1d305407b96b6aca04136a3207bcf0af (patch) | |
tree | 983bf181895dc8991322ca2d8ebef001c6565948 /weaver/src | |
parent | 1508de05e2a9c9c8e1d2c429e8b5d0415ce0a1a5 (diff) | |
download | aspectj-2bd294be1d305407b96b6aca04136a3207bcf0af.tar.gz aspectj-2bd294be1d305407b96b6aca04136a3207bcf0af.zip |
Created accessors for pointcuts contained within And/Or pointcut.
Diffstat (limited to 'weaver/src')
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/AndPointcut.java | 8 | ||||
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/OrPointcut.java | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/AndPointcut.java b/weaver/src/org/aspectj/weaver/patterns/AndPointcut.java index 352023def..5dc127aaf 100644 --- a/weaver/src/org/aspectj/weaver/patterns/AndPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/AndPointcut.java @@ -89,4 +89,12 @@ public class AndPointcut extends Pointcut { right.concretize1(inAspect, bindings)); } + public Pointcut getLeft() { + return left; + } + + public Pointcut getRight() { + return right; + } + } diff --git a/weaver/src/org/aspectj/weaver/patterns/OrPointcut.java b/weaver/src/org/aspectj/weaver/patterns/OrPointcut.java index 631ad6666..1e6c2b378 100644 --- a/weaver/src/org/aspectj/weaver/patterns/OrPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/OrPointcut.java @@ -91,4 +91,12 @@ public class OrPointcut extends Pointcut { return new OrPointcut(left.concretize1(inAspect, bindings), right.concretize1(inAspect, bindings)); } + + public Pointcut getLeft() { + return left; + } + + public Pointcut getRight() { + return right; + } } |