diff --git a/jode/jode/type/NullType.java b/jode/jode/type/NullType.java index 40bd256..542f067 100644 --- a/jode/jode/type/NullType.java +++ b/jode/jode/type/NullType.java @@ -35,6 +35,10 @@ public class NullType extends ReferenceType { super(TC_NULL); } + public Type getSubType() { + return this; + } + public Type createRangeType(ReferenceType bottomType) { return tRange(bottomType, this); } @@ -65,7 +69,7 @@ public class NullType extends ReferenceType { } public String toString() { - return ""; + return "tNull"; } /** @@ -77,4 +81,3 @@ public class NullType extends ReferenceType { throw new AssertError("NULL.intersection"); } } -