]> source.dussan.org Git - aspectj.git/commitdiff
minor refactoring
authoraclement <aclement>
Sat, 10 Dec 2011 01:04:11 +0000 (01:04 +0000)
committeraclement <aclement>
Sat, 10 Dec 2011 01:04:11 +0000 (01:04 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java

index 76b40e6dd9a145ecc379c885a848d7bee725b3c6..7b904778f1f891b857c8e03e70a8142cb18d714b 100644 (file)
@@ -2673,8 +2673,9 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
                if (isParameterizedType()) {
                        return true;
                }
-               if (getSuperclass() != null) {
-                       return getSuperclass().ajMembersNeedParameterization();
+               ResolvedType superclass = getSuperclass();
+               if (superclass != null && !superclass.isMissing()) {
+                       return superclass.ajMembersNeedParameterization();
                }
                return false;
        }