mirror of https://github.com/dspinellis/UMLGraph
Merge 22d63f06b4 into cdcbba6b74
This commit is contained in:
commit
e6fdaf0190
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue