aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2008-02-25 21:47:22 +0000
committeraclement <aclement>2008-02-25 21:47:22 +0000
commit21b8aa70dbeb9a16cd533694a157c3f009a84686 (patch)
tree5cc5822ec3d6ed9e0383412808b9ebcfb82176d7 /weaver
parent0bee495324f80f798d5e29730deddc255909329b (diff)
downloadaspectj-21b8aa70dbeb9a16cd533694a157c3f009a84686.tar.gz
aspectj-21b8aa70dbeb9a16cd533694a157c3f009a84686.zip
annoValMatch: implementation
Diffstat (limited to 'weaver')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternTestCase.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternTestCase.java b/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternTestCase.java
index 1ff60c342..3bf23d698 100644
--- a/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternTestCase.java
@@ -12,6 +12,7 @@ package org.aspectj.weaver.patterns;
import org.aspectj.bridge.AbortException;
import org.aspectj.util.LangUtil;
import org.aspectj.weaver.AnnotatedElement;
+import org.aspectj.weaver.AnnotationX;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.BcweaverTests;
import org.aspectj.weaver.UnresolvedType;
@@ -86,7 +87,7 @@ public class AnnotationPatternTestCase extends TestCase {
AndAnnotationTypePattern atp = (AndAnnotationTypePattern) ap;
NotAnnotationTypePattern notBoo = (NotAnnotationTypePattern) atp.getRight();
ExactAnnotationTypePattern boo = (ExactAnnotationTypePattern) notBoo.getNegatedPattern();
- WildAnnotationTypePattern fooOrGoo = (WildAnnotationTypePattern) atp.getLeft();
+ AnnotationTypePattern fooOrGoo = (AnnotationTypePattern) atp.getLeft();
assertEquals("@((Foo || Goo)) !@Boo",ap.toString());
}
@@ -354,6 +355,11 @@ public class AnnotationPatternTestCase extends TestCase {
// TODO Auto-generated method stub
return null;
}
+
+ public AnnotationX getAnnotationOfType(UnresolvedType ofType) {
+ // TODO Auto-generated method stub
+ return null;
+ }
}
}