mirror of https://github.com/dspinellis/UMLGraph
Update ClassGraph.java
This commit is contained in:
parent
cdcbba6b74
commit
22d63f06b4
|
|
@ -972,7 +972,7 @@ class ClassGraph {
|
||||||
private Type[] getInterfaceTypeArguments(ClassDoc iface, Type t) {
|
private Type[] getInterfaceTypeArguments(ClassDoc iface, Type t) {
|
||||||
if (t instanceof ParameterizedType) {
|
if (t instanceof ParameterizedType) {
|
||||||
ParameterizedType pt = (ParameterizedType) t;
|
ParameterizedType pt = (ParameterizedType) t;
|
||||||
if (iface.equals(t.asClassDoc())) {
|
if (iface != null && iface.equals(t.asClassDoc())) {
|
||||||
return pt.typeArguments();
|
return pt.typeArguments();
|
||||||
} else {
|
} else {
|
||||||
for (Type pti : pt.interfaceTypes()) {
|
for (Type pti : pt.interfaceTypes()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue