public void testMethodParametersWithArrays() throws Exception {
builder.beginClass(new ClassDef());
MethodDef mth = new MethodDef();
FieldDef f1 = new FieldDef();
f1.name = "count";
f1.type = "int";
f1.modifiers.add("final");
f1.dimensions = 1;
mth.params.add(f1);
FieldDef f2 = new FieldDef();
f2.name = "name";
f2.type = "String";
f2.dimensions = 2;
mth.params.add(f2);