public final class TypeUtils extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
resolveBaseClass(java.lang.reflect.Type type)
Resolves the "base type" for the specified type.
|
public static java.lang.Class<?> resolveBaseClass(java.lang.reflect.Type type)
List<String>
, then List.class
will be returned. If the
specified type is already a class, then it is directly returned.type
- The type to resolve