Example usage for org.springframework.core ResolvableType getSource

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

Introduction

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

Prototype

public Object getSource() 

Source Link

Document

Return the underlying source of the resolvable type.

Usage

From source file:org.springframework.http.codec.json.Jackson2CodecSupport.java

@Nullable
protected MethodParameter getParameter(ResolvableType type) {
    return type.getSource() instanceof MethodParameter ? (MethodParameter) type.getSource() : null;
}