static L allMethodNames(O o) { Class c = _getClass(o); new TreeSet names; while (c != null) { for (Method m : c.getDeclaredMethods()) names.add(m.getName()); c = c.getSuperclass(); } ret asList(names); }