public static class FieldGetters.IsMethodFieldGetter extends FieldGetter
| 构造器和说明 |
|---|
IsMethodFieldGetter() |
IsMethodFieldGetter(Method isMethod) |
protected Method isMethod
public IsMethodFieldGetter()
public IsMethodFieldGetter(Method isMethod)
public FieldGetter takeOver(Class<?> targetClass, String fieldName)
FieldGettertakeOver 在类中 FieldGettertargetClass - target.fieldName 表达式中 target 的 Class 类型fieldName - target.fieldName 表达式中的 fieldName 部分public Object get(Object target, String fieldName) throws Exception
FieldGetterget 在类中 FieldGettertarget - 目标对象fieldName - 字段名称ExceptionCopyright © 2024. All rights reserved.