static List<Method> getAllSortedMethods(final Class<?> type,
                                            Predicate<? super Method>... predicates) {
        final ImmutableList.Builder<Method> result = ImmutableList.builder();
        for (Class<?> t : getAllSortedSuperTypes(type)) {
            result.addAll(getMethods(t, predicates));
        }
        return result.build();
    }
get all methods of given type which are sorted from bottom class, up the super class hierarchy,
optionally filtered by predicates.
grpc/src/main/java/com/linecorp/armeria/server/grpc/InternalReflectionUtils.java