From 1f012131dbfe8ff34a880aa3652afcafaf0d2ef7 Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 26 Jun 1999 16:14:42 +0000 Subject: [PATCH] small fixes git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@903 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/type/NullType.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"); } } -