类 ConstructorUtils
java.lang.Object
cool.scx.util.reflect.ConstructorUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static <T> Constructor<T>findNoArgsConstructor(Class<T> type) 寻找 无参构造函数 (不支持成员类)static <T> Constructor<T>findRecordConstructor(Class<T> type) 寻找 Record 规范构造参数
-
构造器详细资料
-
ConstructorUtils
public ConstructorUtils()
-
-
方法详细资料
-
findNoArgsConstructor
寻找 无参构造函数 (不支持成员类)- 类型参数:
T- a- 参数:
type- c- 返回:
- a
-
findRecordConstructor
寻找 Record 规范构造参数
-