FileDocCategorySizeDatePackage
EVMClassFactory.javaAPI DocphoneME MR2 API (J2ME)1872Wed May 02 17:59:48 BST 2007vm

EVMClassFactory

public class EVMClassFactory extends Object implements VMClassFactory

Fields Summary
Constructors Summary
Methods Summary
public ClassClassnewVMClass(components.ClassInfo c)

	return new EVMClass( c );
    
private static booleansetType(java.lang.String name, int value)

	ClassInfo ci = ClassInfo.lookupClass( name );
	ClassClass cc;
	if ( (ci == null) || ( ( cc = ci.vmClass ) == null) ){
	    return false;
	}
	((EVMClass)cc).typeCode = value;
	return true;

    
public voidsetTypes()

	setType( "void", Const.T_VOID );
	setType( "boolean", Const.T_BOOLEAN );
	setType( "char", Const.T_CHAR );
	setType( "byte", Const.T_BYTE );
	setType( "short", Const.T_SHORT );
	setType( "int", Const.T_INT );
	setType( "long", Const.T_LONG );
	setType( "float", Const.T_FLOAT );
	setType( "double", Const.T_DOUBLE );