@SuppressWarnings("unused") public RepositoryQuery resolveQuery(Method method,RepositoryMetadata metadata,NamedQueries namedQueries){
  QueryLookupStrategy queryLookupStrategy=Factory.super.getQueryLookupStrategy(key,evaluationContextProvider);
  Method resolveQuery=findMethod(QueryLookupStrategy.class,"resolveQuery",Method.class,RepositoryMetadata.class,NamedQueries.class);
  try {
    RepositoryQuery query=(RepositoryQuery)resolveQuery.invoke(queryLookupStrategy,method,metadata,namedQueries);
    return wrapQuery(method,metadata,query);
  }
 catch (  IllegalAccessException|IllegalArgumentException|InvocationTargetException e) {
    throw new RuntimeException(e);
  }
}

@ SuppressWarnings ( "unused" ) public RepositoryQuery resolveQuery ( Method method , RepositoryMetadata metadata , NamedQueries namedQueries ) { QueryLookupStrategy queryLookupStrategy = Factory . super . getQueryLookupStrategy ( key , evaluationContextProvider ) ; Method resolveQuery = findMethod ( QueryLookupStrategy . class , "resolveQuery" , Method . class , RepositoryMetadata . class , NamedQueries . class ) ; try { RepositoryQuery query = ( RepositoryQuery ) resolveQuery . invoke ( queryLookupStrategy , method , metadata , namedQueries ) ; return wrapQuery ( method , metadata , query ) ; } catch ( IllegalAccessException | IllegalArgumentException | InvocationTargetException e ) { throw new RuntimeException ( e ) ; } }
compatibility for projects using spring data jpa < 1 . 10 . 0
