|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openjava.mop.OJSystem
OJSystem
is the system environment: the analog of System
in an OpenJava system.
System
Field Summary | |
private static Vector |
additionalClasses
|
static OJClass |
BOOLEAN
class object for primitive type boolean |
static OJClass |
BYTE
class object for primitive type byte |
static OJClass |
CHAR
class object for primitive type char |
static OJClass |
DOUBLE
class object for primitive type double |
static GlobalEnvironment |
env
The global system environment for all public classes. |
static OJClass |
FLOAT
class object for primitive type float |
static OJClass |
INT
class object for primitive type int |
private static JavaCompiler |
javac
|
static OJClass |
LONG
class object for primitive type long |
private static Hashtable |
mapClassNameToMetaClass
Maps the name ( String ) of a class to its metaclass (Class ). |
static String |
NextLineChar
The system dependent newline string. |
static OJClass |
NULLTYPE
class object for type of null literal |
static String |
NULLTYPE_NAME
The type name for null. |
static OJClass |
OBJECT
class object for java.lang.Object |
static Object |
orderingLock
internal use only |
static OJClass |
SHORT
class object for primitive type short |
static OJClass |
STRING
class object for java.lang.String |
static Hashtable |
underConstruction
internal use only |
static OJClass |
VOID
class object for primitive type void |
static OJClass |
waited
internal use only |
static Vector |
waitingPool
internal use only |
Constructor Summary | |
OJSystem()
|
Method Summary | |
static OJClass[] |
addedClasses()
internal use only |
static void |
addNewClass(OJClass clazz)
Adds an new public class to be generated. |
static JavaCompiler |
getJavaCompiler()
internal use only |
static Class |
getMetabind(String clazz)
internal use only |
private static String |
getNextLineChar()
|
private static OJClass |
getNullClass()
|
static void |
metabind(String clazz,
String metaclazz)
internal use only |
private static Class |
searchMetaclassInTable(String clazz)
|
static void |
setJavaCompiler(JavaCompiler c)
internal use only |
private static String |
toPackage(String classname)
|
private static String |
toPackageSuffix(String classname)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final GlobalEnvironment env
private static Hashtable mapClassNameToMetaClass
String
) of a class to its metaclass (Class
).
public static OJClass BOOLEAN
public static OJClass BYTE
public static OJClass CHAR
public static OJClass SHORT
public static OJClass INT
public static OJClass LONG
public static OJClass FLOAT
public static OJClass DOUBLE
public static OJClass VOID
public static OJClass STRING
public static OJClass OBJECT
public static OJClass NULLTYPE
public static final String NULLTYPE_NAME
public static final String NextLineChar
private static final Vector additionalClasses
private static JavaCompiler javac
public static Object orderingLock
public static OJClass waited
public static final Hashtable underConstruction
public static final Vector waitingPool
Constructor Detail |
public OJSystem()
Method Detail |
private static final OJClass getNullClass()
private static String getNextLineChar()
public static void addNewClass(OJClass clazz) throws MOPException
MOPException
public static JavaCompiler getJavaCompiler()
public static void setJavaCompiler(JavaCompiler c)
public static OJClass[] addedClasses()
public static void metabind(String clazz, String metaclazz) throws ParseException
ParseException
public static Class getMetabind(String clazz)
private static Class searchMetaclassInTable(String clazz)
private static String toPackageSuffix(String classname)
private static String toPackage(String classname)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |