diff options
author | aclement <aclement> | 2006-06-28 07:32:35 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-06-28 07:32:35 +0000 |
commit | b59b036af89c28616efeda9b4cef1043c34337d6 (patch) | |
tree | adac18475b0ec418cdb72ac62cb8da5b4669b722 /org.aspectj.ajdt.core | |
parent | 99d1c184fdbaafc772ae290d7af3b3430e33d33b (diff) | |
download | aspectj-b59b036af89c28616efeda9b4cef1043c34337d6.tar.gz aspectj-b59b036af89c28616efeda9b4cef1043c34337d6.zip |
NPE guard for 148911
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java index a7265f761..4f86ad97c 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java @@ -305,7 +305,7 @@ public class AsmElementFormatter { //String argType = "<UnknownType>"; // pr135052 if (acceptArgument(argName, argArray[i].type.toString())) { TypeReference typeR = argArray[i].type; - if (typeR!=null) { + if (typeR!=null && md.scope!=null) { TypeBinding typeB = typeR.resolvedType; if (typeB==null) { typeB = typeR.resolveType(md.scope); |