public enum BeanDescCache extends Enum<BeanDescCache>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
clear()
清空全局的Bean属性缓存
|
BeanDesc |
getBeanDesc(Class<?> beanClass,
Func0<BeanDesc> supplier)
获得属性名和
BeanDesc Map映射 |
static BeanDescCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanDescCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanDescCache INSTANCE
public static BeanDescCache[] values()
for (BeanDescCache c : BeanDescCache.values()) System.out.println(c);
public static BeanDescCache valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic BeanDesc getBeanDesc(Class<?> beanClass, Func0<BeanDesc> supplier)
BeanDesc
Map映射beanClass
- Bean的类supplier
- 对象不存在时创建对象的函数BeanDesc
映射public void clear()
Copyright © 2024. All rights reserved.