import org.allspice.bytecode.instructions.Return;
public class TestArrLd extends MyTestCase {
public ClassDef defadd(String type) {
ClassDef cd = makeClassDef() ;
FieldDef fd = new FieldDef(Scope.PUBLIC,new TypeName(type),"foo") ;
fd = fd.setStatic(true) ;
cd = cd.addField(fd) ;
{
Var x = new Var(0,new TypeName(type+"[]")) ;
Var y = new Var(1,TypeName.INT) ;
MethodDef md = new MethodDef(new TypeName(type),"getFoo",x,y) ;