public class ReflectionUtil extends Object
| Constructor and Description |
|---|
ReflectionUtil() |
| Modifier and Type | Method and Description |
|---|---|
Method |
getMethod(Class<?> clazz,
String methodName,
Class<?>[] argTypes) |
static PropertyHolder |
getProperty(Class<?> clazz,
String propName)
获取属性
|
Object[] |
prepareInvokeArgs(Method method,
Object[] argValues)
准备方法调用参数,处理可变参数的情况
|
Copyright © 2025. All rights reserved.