public class PojoUtils extends Object
| 构造器和说明 |
|---|
PojoUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
generalize(Object pojo) |
static Object[] |
generalize(Object[] objs) |
static boolean |
isPojo(Class<?> cls) |
static Object[] |
realize(Object[] objs,
Class<?>[] types) |
static Object[] |
realize(Object[] objs,
Class<?>[] types,
Type[] gtypes) |
static Object |
realize(Object pojo,
Class<?> type) |
static Object |
realize(Object pojo,
Class<?> type,
Type genericType) |
static <T> void |
updatePropertyIfAbsent(Supplier<T> getterMethod,
Consumer<T> setterMethod,
T newValue)
Update the property if absent
|
public static boolean isPojo(Class<?> cls)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.