class C { String[] vars; int foo(C c, int i) { return c.vars[i].length(); } }