public abstract class ReflectUtils extends Object
| Constructor and Description |
|---|
ReflectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Class<T> |
getTypeArgClass(Class<?> clazz,
Class<?> rawType)
获取类对应泛型的类型参数。
|
static <T> Class<T> |
getTypeArgClass(Object obj,
Class<?> rawType)
获取对象对应泛型的类型参数。
|
Copyright © 2022. All rights reserved.