]> source.dussan.org Git - aspectj.git/commitdiff
243224: dont lose context
authoraclement <aclement>
Wed, 13 Aug 2008 21:26:44 +0000 (21:26 +0000)
committeraclement <aclement>
Wed, 13 Aug 2008 21:26:44 +0000 (21:26 +0000)
weaver/src/org/aspectj/weaver/patterns/NotPointcut.java

index 297522b124c2faca0029f5974706c54e1a4f9154..4a131c9a84712f8c1e25a13a03b4392cd644b5df 100644 (file)
@@ -32,6 +32,7 @@ public class NotPointcut extends Pointcut {
                super();
                this.body = negated;
                this.pointcutKind = NOT;
+               setLocation(negated.getSourceContext(), negated.getStart(),negated.getEnd()); // should that be at least start-1?
        }
 
        public NotPointcut(Pointcut pointcut, int startPos) {