aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-28 07:32:35 +0000
committeraclement <aclement>2006-06-28 07:32:35 +0000
commitb59b036af89c28616efeda9b4cef1043c34337d6 (patch)
treeadac18475b0ec418cdb72ac62cb8da5b4669b722 /org.aspectj.ajdt.core
parent99d1c184fdbaafc772ae290d7af3b3430e33d33b (diff)
downloadaspectj-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.java2
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);