]> source.dussan.org Git - aspectj.git/commitdiff
268611: building broken deca code (fix)
authoraclement <aclement>
Mon, 16 Mar 2009 19:53:36 +0000 (19:53 +0000)
committeraclement <aclement>
Mon, 16 Mar 2009 19:53:36 +0000 (19:53 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/patterns/DeclareAnnotation.java

index 0fc665bcb34c5403115ed8665e63fe9daf02b280..9757bbdae757f814c9a6386f3e7fcf1152b29be4 100644 (file)
@@ -355,7 +355,7 @@ public class DeclareAnnotation extends Declare {
         */
        public UnresolvedType getAnnotationTypeX() {
                ensureAnnotationDiscovered();
-               return this.annotation.getType();
+               return (this.annotation == null ? null : this.annotation.getType());
        }
 
        /**