question: @ 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 ) ; } }
target:  Compatibility for projects using Spring Data Jpa < 1.10.0