diff options
author | aclement <aclement> | 2009-11-19 17:19:30 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-11-19 17:19:30 +0000 |
commit | ef9d5b81965983759649e3d0d8cc4e4f26e1f5af (patch) | |
tree | 8228e7de7613dc69b1496fad2059e6a40b168d9c /org.aspectj.ajdt.core | |
parent | b503147e769fb7692aa54eb57f7f7b363329b482 (diff) | |
download | aspectj-ef9d5b81965983759649e3d0d8cc4e4f26e1f5af.tar.gz aspectj-ef9d5b81965983759649e3d0d8cc4e4f26e1f5af.zip |
294647: guard and possible fix
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java index 4f5260705..3d2c483c7 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java @@ -241,7 +241,9 @@ public class EclipseSourceType extends AbstractReferenceTypeDelegate { if (amd instanceof PointcutDeclaration) { PointcutDeclaration d = (PointcutDeclaration) amd; ResolvedPointcutDefinition df = d.makeResolvedPointcutDefinition(factory); - declaredPointcuts.add(df); + if (df!=null) { + declaredPointcuts.add(df); + } } else if (amd instanceof InterTypeDeclaration) { // these are handled in a separate pass continue; |