public class ReflectorManager extends Object
限定符和类型 | 方法和说明 |
---|---|
Object |
execEnumStaticMethod(String staticMethod,
Object params) |
static ReflectorManager |
forClass(Class<?> clazz) |
static ReflectorManager |
fromCache(Class<?> clazz) |
List<Field> |
getFieldList() |
Method |
getGetMethod(String propertyName) |
Map<String,Method> |
getGetMethods() |
Method |
getSetMethod(String propertyName) |
Object |
getValue(Object obj,
String property) |
boolean |
setValue(Object obj,
String property,
Object object) |
public static ReflectorManager forClass(Class<?> clazz)
public static ReflectorManager fromCache(Class<?> clazz)
Copyright © 2021. All rights reserved.