public class GenericTypeHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericTypeHelper.GenericType<T> |
| Constructor and Description |
|---|
GenericTypeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Type |
buildParameterizedType(Class c,
Type... parameters) |
static Type |
solve(TypeVariable t,
Object context)
Deprecated.
|
static Type |
solveFromInstance(TypeVariable t,
Object instance) |
static Type |
solveFromType(TypeVariable t,
Type context) |
static Type |
toReference(Type t,
Type context) |
static Class |
typeToClass(Type type) |
public static Type solveFromInstance(TypeVariable t, Object instance)
public static Type solveFromType(TypeVariable t, Type context)
@Deprecated public static Type solve(TypeVariable t, Object context)
Copyright © 2020. All rights reserved.