]> source.dussan.org Git - aspectj.git/commitdiff
annoValMatch: implementation
authoraclement <aclement>
Mon, 25 Feb 2008 21:47:22 +0000 (21:47 +0000)
committeraclement <aclement>
Mon, 25 Feb 2008 21:47:22 +0000 (21:47 +0000)
weaver/testsrc/org/aspectj/weaver/patterns/AnnotationPatternTestCase.java

index 1ff60c342d22d5ffbeb72265827045217f1380de..3bf23d698cd2bdbc470bbfbd73fd148cec8db147 100644 (file)
@@ -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;
+               }
                
        }
 }