From: aclement Date: Mon, 25 Feb 2008 21:47:22 +0000 (+0000) Subject: annoValMatch: implementation X-Git-Tag: V1_6_0M2~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=21b8aa70dbeb9a16cd533694a157c3f009a84686;p=aspectj.git annoValMatch: implementation --- 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; + } } }