Ejemplo n.º 1
0
        public ToyVMObject(ClassFile type)
        {
            this.type = type;

            //if (type is ConstantPoolInfo_Class){
                if (log.IsDebugEnabled) log.DebugFormat("Pretending to create new instance of {0}",type.GetName());
            //}
            //else {
                //throw new Exception("Don't know how to handle " + type.getName());
            //}
        }
Ejemplo n.º 2
0
 public void SetClassFile(ClassFile clazz)
 {
     this.classFile = clazz;
     classFileName = classFile.GetName();
 }