Update ClassGraph.java

This commit is contained in:
CyrilDeverson 2013-05-23 15:54:16 +02:00
parent cdcbba6b74
commit 22d63f06b4
1 changed files with 1 additions and 1 deletions

View File

@ -972,7 +972,7 @@ class ClassGraph {
private Type[] getInterfaceTypeArguments(ClassDoc iface, Type t) {
if (t instanceof ParameterizedType) {
ParameterizedType pt = (ParameterizedType) t;
if (iface.equals(t.asClassDoc())) {
if (iface != null && iface.equals(t.asClassDoc())) {
return pt.typeArguments();
} else {
for (Type pti : pt.interfaceTypes()) {