static S singleFieldName(Class c) { Set l = listFields(c); if (l(l) != 1) fail("No single field found in " + c + " (have " + n(l(l), "fields") + ")"); ret first(l); }