nz.net.juju.jaune
Class ClassManager
java.lang.Object
|
+--nz.net.juju.jaune.ClassManager
- public class ClassManager
- extends java.lang.Object
The ClassManager takes care of all class load/fetch requests. One
static instance makes all class, method, and field instances
globally unique.
|
Method Summary |
static void |
addToClasspath(java.lang.String path)
|
static gnu.bytecode.ClassType |
get(gnu.bytecode.ClassType equiv)
Returns the concrete form of the given ClassType. |
static gnu.bytecode.ClassType |
get(java.lang.String in)
Returns the ClassType for the given name, loading from disk if
required. |
static gnu.bytecode.ClassType |
getSuperclass(gnu.bytecode.ClassType ctype)
Special helper method that returns the super class of the
incoming type taking into account the shadow classes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassManager
public ClassManager()
get
public static gnu.bytecode.ClassType get(gnu.bytecode.ClassType equiv)
throws java.lang.Exception
- Returns the concrete form of the given ClassType. Used to
turn a gnu.bytecode automaticlly generated class into the real
thing.
get
public static gnu.bytecode.ClassType get(java.lang.String in)
throws java.lang.Exception
- Returns the ClassType for the given name, loading from disk if
required.
addToClasspath
public static void addToClasspath(java.lang.String path)
getSuperclass
public static gnu.bytecode.ClassType getSuperclass(gnu.bytecode.ClassType ctype)
throws java.lang.Exception
- Special helper method that returns the super class of the
incoming type taking into account the shadow classes.