public class JavaBeanInfo extends Object
Modifier and Type | Field and Description |
---|---|
Class<?> |
builderClass |
Method |
buildMethod |
Class<?> |
clazz |
Constructor<?> |
creatorConstructor |
String[] |
creatorConstructorParameters |
Type[] |
creatorConstructorParameterTypes |
Constructor<?> |
defaultConstructor |
int |
defaultConstructorParameterSize |
Method |
factoryMethod |
FieldInfo[] |
fields |
JSONType |
jsonType |
boolean |
kotlin |
Constructor<?> |
kotlinDefaultConstructor |
String[] |
orders |
int |
parserFeatures |
FieldInfo[] |
sortedFields |
String |
typeKey |
String |
typeName |
Constructor and Description |
---|
JavaBeanInfo(Class<?> clazz,
Class<?> builderClass,
Constructor<?> defaultConstructor,
Constructor<?> creatorConstructor,
Method factoryMethod,
Method buildMethod,
JSONType jsonType,
List<FieldInfo> fieldList) |
Modifier and Type | Method and Description |
---|---|
static JavaBeanInfo |
build(Class<?> clazz,
Type type,
PropertyNamingStrategy propertyNamingStrategy) |
static JavaBeanInfo |
build(Class<?> clazz,
Type type,
PropertyNamingStrategy propertyNamingStrategy,
boolean fieldBased,
boolean compatibleWithJavaBean) |
static JavaBeanInfo |
build(Class<?> clazz,
Type type,
PropertyNamingStrategy propertyNamingStrategy,
boolean fieldBased,
boolean compatibleWithJavaBean,
boolean jacksonCompatible) |
static Class<?> |
getBuilderClass(Class<?> clazz,
JSONType type) |
static Class<?> |
getBuilderClass(JSONType type)
Deprecated.
|
static Constructor<?> |
getCreatorConstructor(Constructor[] constructors) |
public final Class<?> clazz
public final Class<?> builderClass
public final Constructor<?> defaultConstructor
public final Constructor<?> creatorConstructor
public final Method factoryMethod
public final Method buildMethod
public final int defaultConstructorParameterSize
public final FieldInfo[] fields
public final FieldInfo[] sortedFields
public final int parserFeatures
public final JSONType jsonType
public final String typeName
public final String typeKey
public String[] orders
public Type[] creatorConstructorParameterTypes
public String[] creatorConstructorParameters
public boolean kotlin
public Constructor<?> kotlinDefaultConstructor
public JavaBeanInfo(Class<?> clazz, Class<?> builderClass, Constructor<?> defaultConstructor, Constructor<?> creatorConstructor, Method factoryMethod, Method buildMethod, JSONType jsonType, List<FieldInfo> fieldList)
public static JavaBeanInfo build(Class<?> clazz, Type type, PropertyNamingStrategy propertyNamingStrategy)
public static JavaBeanInfo build(Class<?> clazz, Type type, PropertyNamingStrategy propertyNamingStrategy, boolean fieldBased, boolean compatibleWithJavaBean)
public static JavaBeanInfo build(Class<?> clazz, Type type, PropertyNamingStrategy propertyNamingStrategy, boolean fieldBased, boolean compatibleWithJavaBean, boolean jacksonCompatible)
public static Constructor<?> getCreatorConstructor(Constructor[] constructors)
Copyright © 2012–2022 Alibaba Group. All rights reserved.