]> source.dussan.org Git - aspectj.git/commitdiff
now remembers its location for better error reporting
authoracolyer <acolyer>
Wed, 13 Jul 2005 13:03:35 +0000 (13:03 +0000)
committeracolyer <acolyer>
Wed, 13 Jul 2005 13:03:35 +0000 (13:03 +0000)
weaver/src/org/aspectj/weaver/patterns/WildAnnotationTypePattern.java

index 124e4508f2d959869fb309f75107e5c09b941578..f3c7c5ccfd3ea55086fa98f580e03c7c53a9bfae 100644 (file)
@@ -40,6 +40,7 @@ public class WildAnnotationTypePattern extends AnnotationTypePattern {
        public WildAnnotationTypePattern(TypePattern typePattern) {
                super();
                this.typePattern = typePattern;
+               this.setLocation(typePattern.getSourceContext(), typePattern.start, typePattern.end);
        }
 
     public TypePattern getTypePattern() {