Proper toString() for DataFlowInfo
This commit is contained in:
@@ -201,4 +201,11 @@ public class DataFlowInfo {
|
|||||||
return !typeInfo.isEmpty();
|
return !typeInfo.isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
if (typeInfo.isEmpty() && nullabilityInfo.isEmpty()) {
|
||||||
|
return "EMPTY";
|
||||||
|
}
|
||||||
|
return "Non-trivial DataFlowInfo";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user