]> source.dussan.org Git - aspectj.git/commitdiff
NPE guard for 148911
authoraclement <aclement>
Wed, 28 Jun 2006 07:32:35 +0000 (07:32 +0000)
committeraclement <aclement>
Wed, 28 Jun 2006 07:32:35 +0000 (07:32 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java

index a7265f761ca38891bcbe834f247c3b1aa11b123e..4f86ad97c97f77f9decf9485957ebb970f8b215e 100644 (file)
@@ -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);