public class TypeResolver
extends java.lang.Object
Type object| Modifier and Type | Method and Description |
|---|---|
static Type<?> |
resolveFieldType(Path path,
java.lang.reflect.Field field)
Resolve the type of a field
|
static Type<?> |
resolveParameterType(Path path,
java.lang.reflect.Parameter parameter)
Resolve the type of a method parameter
|
static Type<?> |
resolveReturnType(Path path,
java.lang.reflect.Method method)
Resolve the return type of method
|
static Type<?> |
resolveType(Path path,
java.lang.reflect.Type type)
|
static Type<?> |
resolveType(java.lang.reflect.Type type)
|
public static Type<?> resolveReturnType(Path path, java.lang.reflect.Method method)
path - pathmethod - methodpublic static Type<?> resolveFieldType(Path path, java.lang.reflect.Field field)
path - pathfield - fieldpublic static Type<?> resolveParameterType(Path path, java.lang.reflect.Parameter parameter)
path - pathparameter - method parameterpublic static Type<?> resolveType(java.lang.reflect.Type type)
type - java type