summaryrefslogtreecommitdiffstats
path: root/weaver/src
diff options
context:
space:
mode:
authormkersten <mkersten>2003-08-06 12:33:15 +0000
committermkersten <mkersten>2003-08-06 12:33:15 +0000
commit2bd294be1d305407b96b6aca04136a3207bcf0af (patch)
tree983bf181895dc8991322ca2d8ebef001c6565948 /weaver/src
parent1508de05e2a9c9c8e1d2c429e8b5d0415ce0a1a5 (diff)
downloadaspectj-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.java8
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/OrPointcut.java8
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;
+ }
}