static L allLiveMethodsBelowClass(O o, Class base) { Class c = _getClass(o); bool isInstance = c != o; new L methods; while (c != null && c != base) { for (Method m : c.getDeclaredMethods()) if (isInstance != isStaticMethod(m)) methods.add(m); c = c.getSuperclass(); } ret methods; }