aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2009-03-16 19:53:36 +0000
committeraclement <aclement>2009-03-16 19:53:36 +0000
commit0f5f551ffc0819f793122b6d0afe075ad377e027 (patch)
tree9d4384c694bba80503d8ad1d14d8de7892e4df84 /org.aspectj.matcher
parent73c305bb7af6382c09caf5795a39b3ac96439b9f (diff)
downloadaspectj-0f5f551ffc0819f793122b6d0afe075ad377e027.tar.gz
aspectj-0f5f551ffc0819f793122b6d0afe075ad377e027.zip
268611: building broken deca code (fix)
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/patterns/DeclareAnnotation.java2
1 files changed, 1 insertions, 1 deletions
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());
}
/**