public abstract class BeanDescription extends Object
ClassIntrospector to
help in constructing serializers and deserializers.
Note that the main implementation type is
BasicBeanDescription,
meaning that it is safe to upcast to this type.| 限定符和类型 | 字段和说明 |
|---|---|
protected JavaType |
_type
Bean type information, including raw class and possible
* generics information
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
BeanDescription(JavaType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract TypeBindings |
bindingsForBeanType()
Accessor for type bindings that may be needed to fully resolve
types of member object, such as return and argument types of
methods and constructors, and types of fields.
|
abstract AnnotatedMethod |
findAnyGetter() |
abstract AnnotatedMethod |
findAnySetter() |
abstract AnnotatedConstructor |
findDefaultConstructor() |
abstract LinkedHashMap<String,AnnotatedField> |
findDeserializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use
findProperties() |
abstract LinkedHashMap<String,AnnotatedMethod> |
findGetters(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use
findProperties() |
abstract Map<Object,AnnotatedMember> |
findInjectables() |
abstract AnnotatedMethod |
findJsonValueMethod() |
abstract List<BeanPropertyDefinition> |
findProperties() |
abstract Map<String,AnnotatedField> |
findSerializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use the non-deprecated version
|
abstract LinkedHashMap<String,AnnotatedMethod> |
findSetters(VisibilityChecker<?> visibilityChecker)
已过时。
Since 1.9 use
findProperties() |
Class<?> |
getBeanClass() |
abstract Annotations |
getClassAnnotations()
Method for accessing collection of annotations the bean
class has.
|
abstract AnnotatedClass |
getClassInfo() |
abstract Set<String> |
getIgnoredPropertyNames() |
JavaType |
getType()
Method for accessing declared type of bean being introspected,
including full generic type information (from declaration)
|
abstract boolean |
hasKnownClassAnnotations() |
abstract JavaType |
resolveType(Type jdkType)
Method for resolving given JDK type, using this bean as the
generic type resolution context.
|
protected final JavaType _type
protected BeanDescription(JavaType type)
public JavaType getType()
public Class<?> getBeanClass()
public abstract AnnotatedClass getClassInfo()
public abstract boolean hasKnownClassAnnotations()
public abstract TypeBindings bindingsForBeanType()
public abstract JavaType resolveType(Type jdkType)
public abstract Annotations getClassAnnotations()
public abstract List<BeanPropertyDefinition> findProperties()
public abstract Map<Object,AnnotatedMember> findInjectables()
public abstract AnnotatedMethod findAnyGetter()
public abstract AnnotatedMethod findAnySetter()
public abstract AnnotatedMethod findJsonValueMethod()
public abstract AnnotatedConstructor findDefaultConstructor()
@Deprecated public abstract LinkedHashMap<String,AnnotatedMethod> findGetters(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties)
findProperties()@Deprecated public abstract LinkedHashMap<String,AnnotatedMethod> findSetters(VisibilityChecker<?> visibilityChecker)
findProperties()@Deprecated public abstract LinkedHashMap<String,AnnotatedField> findDeserializableFields(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties)
findProperties()@Deprecated public abstract Map<String,AnnotatedField> findSerializableFields(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties)