|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.util.Utils
at.dms.kjc.CTopLevel
public final class CTopLevel
This class implements the conceptual directory structure for .class files
Field Summary |
---|
Fields inherited from class at.dms.util.Utils |
---|
EMPTY_LIST, getForLoopCallers |
Constructor Summary | |
---|---|
CTopLevel()
|
Method Summary | |
---|---|
static boolean |
addSourceClass(CClass cl)
|
Object |
deepClone()
Returns a deep clone of this object. |
protected void |
deepCloneInto(CTopLevel other)
Clones all fields of this into |
static void |
endSession(Compiler compiler)
|
static boolean |
hasClassFile(String name)
|
static void |
initSession(Compiler compiler)
Removes all source classes |
static CClass |
loadClass(String name)
Loads class definition from .class file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CTopLevel()
Method Detail |
---|
public static CClass loadClass(String name)
public static boolean addSourceClass(CClass cl)
cl
- a class to add (must be a CSourceClass)
public static boolean hasClassFile(String name)
name
- the name of the class file
public static void initSession(Compiler compiler)
public static void endSession(Compiler compiler)
public Object deepClone()
deepClone
in interface DeepCloneable
deepClone
in class Utils
protected void deepCloneInto(CTopLevel other)
other
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |