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
stable
jochen 25 years ago
parent 0cfab76126
commit c0cd537eaf
  1. 17
      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:

Loading…
Cancel
Save