diff --git a/jode/jode/type/Type.java b/jode/jode/type/Type.java index 49a039e..dc3b0dc 100644 --- a/jode/jode/type/Type.java +++ b/jode/jode/type/Type.java @@ -17,7 +17,9 @@ * $Id$ */ -package jode; +package jode.type; +import jode.AssertError; +import jode.Decompiler; import jode.bytecode.ClassInfo; ///#ifdef JDK12 ///import java.lang.ref.WeakReference; @@ -96,8 +98,6 @@ public class Type { public static final int TC_RANGE = 103; public static final int TC_INTEGER = 107; - protected static JodeEnvironment env; - ///#ifdef JDK12 /// private static final Map classHash = new HashMap(); /// private static final ReferenceQueue classQueue = new ReferenceQueue(); @@ -310,10 +310,6 @@ public class Type { return type.getSubType(); } - public static void setEnvironment(JodeEnvironment e) { - env = e; - } - final int typecode; /** @@ -415,13 +411,6 @@ public class Type { return this.intersection(type) != Type.tError; } - /** - * Marks this type as used, so that the class is imported. - */ - public void useType() { - /* No action needed for simple types */ - } - public String getDefaultName() { switch (typecode) { case TC_LONG: