public class ReflectUtils
extends cn.hutool.core.util.ReflectUtil
| 构造器和说明 |
|---|
ReflectUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> E |
invokeGetter(Object obj,
String propertyName)
调用Getter方法.
|
static <E> void |
invokeSetter(Object obj,
String propertyName,
E value)
调用Setter方法, 仅匹配方法名。
|
getConstructor, getConstructors, getConstructorsDirectly, getField, getFieldMap, getFieldName, getFields, getFields, getFieldsDirectly, getFieldsValue, getFieldValue, getFieldValue, getMethod, getMethod, getMethodByName, getMethodByName, getMethodByNameIgnoreCase, getMethodIgnoreCase, getMethodNames, getMethodOfObj, getMethods, getMethods, getMethodsDirectly, getPublicMethod, getPublicMethodNames, getPublicMethods, getPublicMethods, getPublicMethods, getPublicMethods, getStaticFieldValue, hasField, invoke, invoke, invokeStatic, invokeWithCheck, isEmptyParam, isEqualsMethod, isGetterOrSetter, isGetterOrSetterIgnoreCase, isHashCodeMethod, isOuterClassField, isToStringMethod, newInstance, newInstance, newInstanceIfPossible, setAccessible, setFieldValue, setFieldValueCopyright © 2022. All rights reserved.