Example usage for org.springframework.core ResolvableType forField

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

Introduction

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

Prototype

public static ResolvableType forField(Field field, int nestingLevel) 

Source Link

Document

Return a ResolvableType for the specified Field with the given nesting level.

Usage

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

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