@Override public Streamable<Method> getQueryMethods() { Set<Method> result = new HashSet<>(); for (Method method : getRepositoryInterface().getMethods()) { method = ClassUtils.getMostSpecificMethod(method, getRepositoryInterface()); if (isQueryMethodCandidate(method)) { result.add(method); } } return Streamable.of(Collections.unmodifiableSet(result)); }