Example usage for org.springframework.core ResolvableType forMethodReturnType

List of usage examples for org.springframework.core ResolvableType forMethodReturnType

Introduction

In this page you can find the example usage for org.springframework.core ResolvableType forMethodReturnType.

Prototype

public static ResolvableType forMethodReturnType(Method method, Class<?> implementationClass) 

Source Link

Document

Return a ResolvableType for the specified Method return type.

Usage

From source file:com.oembedler.moon.graphql.engine.dfs.ResolvableTypeAccessor.java

public static ResolvableTypeAccessor forMethodReturnType(Method method, Class<?> implClass) {
    ResolvableType resolvableType = ResolvableType.forMethodReturnType(method, implClass);
    return new ResolvableTypeAccessor(method.getName(), resolvableType,
            Lists.newArrayList(method.getAnnotations()), implClass);
}