FileDocCategorySizeDatePackage
EVMClassFactory.javaAPI DocJ2ME CLDC 1.11066Wed Feb 05 15:56:04 GMT 2003vm

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 );