From c0cd537eafd18e13b00a89fb20b6a7e0c50b642e Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 14 Apr 1999 20:27:23 +0000 Subject: [PATCH] Types moved to jode.type useType removed JodeEnvironment removed git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@609 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/type/Type.java | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) 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: