From 0f5f551ffc0819f793122b6d0afe075ad377e027 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 16 Mar 2009 19:53:36 +0000 Subject: [PATCH] 268611: building broken deca code (fix) --- .../src/org/aspectj/weaver/patterns/DeclareAnnotation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/DeclareAnnotation.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/DeclareAnnotation.java index 0fc665bcb..9757bbdae 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/DeclareAnnotation.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/DeclareAnnotation.java @@ -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()); } /** -- 2.39.5