static L allMethods(O o) { ret allMethods(_getClass(o)); } static L allMethods(Class c) { new L l; while (c != null) { for (Method m : c.getDeclaredMethods()) l.add(m); c = c.getSuperclass(); } ret l; }