public class TestArrStr 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) ;
Var z = new Var(2,new TypeName(type)) ;
MethodDef md = new MethodDef(TypeName.VOID,"setFoo",x,y,z) ;