code: public static RepositoryQuery fromQueryAnnotation(SimpleDbQueryMethod queryMethod,
  			SimpleDbOperations simpleDbOperations) {
  		LOGGER.debug("Looking up query for method {}", queryMethod.getName());
  		return queryMethod.getAnnotatedQuery() == null ? null : new SimpleDbRepositoryQuery(queryMethod,
  				simpleDbOperations);
  	}
docs: Creates a {@link RepositoryQuery} from the given {@link org.springframework.data.repository.query.QueryMethod}
  that is potentially annotated with {@link org.springframework.data.simpledb.annotation.Query}.
  
  @param queryMethod
  @return the {@link RepositoryQuery} derived from the annotation or {@code null} if no annotation found.