static Method findSingleInterfaceMethodOrFail(Class intrface) { Method m = findSingleInterfaceMethod(intrface); if (m == null) fail(intrface + " is not a single method interface"); ret m; }