Reports Spring Data CRUD repository methods with incorrect return types.
The following return types are supported:
voidT when the query method is expected to return one result at most. Returns null if there are no results and
throws IncorrectResultSizeDataAccessException if there is more than one result.
java.util.List or any common Iterable typejava.util.stream.Streamjava.util.Optional or scala.Option when the query method is expected to return one result at most. Returns
Optional.empty() or Optional.absent() if there are no results and throws IncorrectResultSizeDataAccessException
if there is more than one result.
io.micronaut.data.model.Pageio.micronaut.data.model.Slicejava.util.concurrent.Future, java.util.concurrent.CompletableFuture, or ListenableFuture if the
method is annotated with @Async and Spring asynchronous method execution is enabled
GeoResults<T>, GeoResult<T>, or GeoPage<T>