5152535455565758596061
new Load(y), new Add(TypeCode.INT), new Store(z), new ReturnVar(vret.index) ) ; cd = cd.addMethod(md) ; return cd ; } public void test1() throws Exception { ClassDef cd = defadd() ;
4445464748495051525354
md = md.addInstructions( new Load(x), new Store(new StaticFieldRef(cd.name,new TypeName(type),"foo")), new Return(TypeCode.VOID) ) ; cd = cd.addMethod(md) ; } { MethodDef md = new MethodDef(new TypeName(type),"getFoo") ; md = md.setStatic(true) ; md = md.addInstructions(
5354555657585960616263
md = md.setStatic(true) ; md = md.addInstructions( new Load(new StaticFieldRef(cd.name,new TypeName(type),"foo")), new Return(TypeCode.getType(type)) ) ; cd = cd.addMethod(md) ; } return cd ; } public void test1() throws Exception {
3738394041424344454647
new Load(x), new Load(y), new Divide(TypeCode.getType(type)), new Return(TypeCode.getType(ret)) ) ; return cd.addMethod(md) ; } public void test1() throws Exception { ClassDef cd = defadd("double","double",1,3) ; Object obj = makeObject(cd) ;
4344454647484950515253
new Return(TypeCode.BOOLEAN), new Nop(one), new Const(true), new Return(TypeCode.BOOLEAN) ) ; return cd.addMethod(md) ; } public void test1() throws Exception { ClassDef cd = defadd("double",1) ; Object obj = makeObject(cd) ;
4546474849505152535455
new Return(TypeCode.BOOLEAN), new Nop(one), new Const(true), new Return(TypeCode.BOOLEAN) ) ; return cd.addMethod(md) ; } public void test1() throws Exception { ClassDef cd = defadd("double",1,3) ; Object obj = makeObject(cd) ;
4142434445464748495051
new Load(y), new Swap(), new Subtract(TypeCode.INT), new Return(TypeCode.INT) ) ; cd = cd.addMethod(md) ; } return cd ; } public void test1() throws Exception { Class<?> obj = makeClass(defadd01()) ;
3839404142434445464748
md = md.addInstructions( new Load(x), new Convert(TypeCode.getType(x.getType()),new TypeName(type)), new Return(TypeCode.getType(type)) ) ; cd = cd.addMethod(md) ; } return cd ; } public void test1() throws Exception { Class<?> obj = makeClass(defadd("java.lang.String")) ;
4041424344454647484950
new Load(x), new Dup(TypeCode.VOID,TypeCode.INT), new Add(TypeCode.INT), new Return(TypeCode.INT) ) ; cd = cd.addMethod(md) ; } return cd ; } public ClassDef defadd02() { ClassDef cd = makeClassDef() ;
5657585960616263646566
new Load(x), new Dup(TypeCode.VOID,TypeCode.LONG), new Add(TypeCode.LONG), new Return(TypeCode.LONG) ) ; cd = cd.addMethod(md) ; } return cd ; } public ClassDef defadd11() { ClassDef cd = makeClassDef() ;