public class ReflectUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTRUCTOR_NAME |
| Constructor and Description |
|---|
ReflectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getClassName(Class<?> clazz)
获取类的名字
|
static Field[] |
getDeclaredFields(Class<?> clazz)
获取类的自己申明的字段
|
static Method[] |
getDeclaredMethods(Class<?> clazz)
获取类的自己申明的方法
|
static Method[] |
getMethods(Class<?> clazz)
获取类的所有公有方法(包括父类)
|
public static final String CONSTRUCTOR_NAME
Copyright © 2025. All rights reserved.