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()); //} }
public void SetClassFile(ClassFile clazz) { this.classFile = clazz; classFileName = classFile.GetName(); }