Example usage for org.springframework.data.util ClassTypeInformation fromReturnTypeOf

List of usage examples for org.springframework.data.util ClassTypeInformation fromReturnTypeOf

Introduction

In this page you can find the example usage for org.springframework.data.util ClassTypeInformation fromReturnTypeOf.

Prototype

public static <S> TypeInformation<S> fromReturnTypeOf(Method method) 

Source Link

Document

Creates a TypeInformation from the given method's return type.

Usage

From source file:com.frank.search.solr.repository.query.SolrQueryMethod.java

TypeInformation<?> getReturnType() {
    return ClassTypeInformation.fromReturnTypeOf(method);
}