aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/src
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-05-19 20:50:51 +0000
committerjhugunin <jhugunin>2003-05-19 20:50:51 +0000
commit80c43df23f0870fed4eb57a079841b5bdf21df06 (patch)
treecf79a9b7b82f255ca3db5bc3d64bdb3a97f1a1f7 /org.aspectj.ajdt.core/src
parent2ed2ba65b2e99e5e11f675d875c23fac67a51021 (diff)
downloadaspectj-80c43df23f0870fed4eb57a079841b5bdf21df06.tar.gz
aspectj-80c43df23f0870fed4eb57a079841b5bdf21df06.zip
fix for NPE revealed by BcWeaverJarMaker test code
Diffstat (limited to 'org.aspectj.ajdt.core/src')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceType.java2
1 files changed, 1 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 abee60abf..4b598afce 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
@@ -63,7 +63,7 @@ public class EclipseSourceType extends ResolvedTypeX.ConcreteName {
public boolean isAspect() {
- return binding.scope.referenceContext instanceof AspectDeclaration;
+ return declaration instanceof AspectDeclaration;
}
public boolean isWovenBy(ResolvedTypeX aspectType) {