Package org.codehaus.jackson.map
Class BeanDescription
java.lang.Object
org.codehaus.jackson.map.BeanDescription
- Direct Known Subclasses:
BasicBeanDescription
Basic container for information gathered by
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.- Author:
- tatu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract TypeBindings
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
abstract AnnotatedMethod
abstract AnnotatedConstructor
abstract LinkedHashMap<String,
AnnotatedField> findDeserializableFields
(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties) Deprecated.abstract LinkedHashMap<String,
AnnotatedMethod> findGetters
(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties) Deprecated.Since 1.9 usefindProperties()
abstract Map<Object,
AnnotatedMember> abstract AnnotatedMethod
abstract List<BeanPropertyDefinition>
abstract Map<String,
AnnotatedField> findSerializableFields
(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties) Deprecated.Since 1.9 use the non-deprecated versionabstract LinkedHashMap<String,
AnnotatedMethod> findSetters
(VisibilityChecker<?> visibilityChecker) Deprecated.Since 1.9 usefindProperties()
Class<?>
abstract Annotations
Method for accessing collection of annotations the bean class has.abstract AnnotatedClass
getType()
Method for accessing declared type of bean being introspected, including full generic type information (from declaration)abstract boolean
abstract JavaType
resolveType
(Type jdkType) Method for resolving given JDK type, using this bean as the generic type resolution context.
-
Field Details
-
_type
Bean type information, including raw class and possible * generics information
-
-
Constructor Details
-
BeanDescription
-
-
Method Details
-
getType
Method for accessing declared type of bean being introspected, including full generic type information (from declaration) -
getBeanClass
-
getClassInfo
-
hasKnownClassAnnotations
public abstract boolean hasKnownClassAnnotations() -
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. -
resolveType
Method for resolving given JDK type, using this bean as the generic type resolution context.- Since:
- 1.9
-
getClassAnnotations
Method for accessing collection of annotations the bean class has.- Since:
- 1.7
-
findProperties
- Returns:
- Ordered Map with logical property name as key, and matching getter method as value.
- Since:
- 1.9
-
findInjectables
- Since:
- 1.9
-
findAnyGetter
- Since:
- 1.9
-
findAnySetter
- Since:
- 1.9
-
findJsonValueMethod
- Since:
- 1.9
-
findDefaultConstructor
- Since:
- 1.9
-
getIgnoredPropertyNames
- Since:
- 1.9
-
findGetters
@Deprecated public abstract LinkedHashMap<String,AnnotatedMethod> findGetters(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties) Deprecated.Since 1.9 usefindProperties()
-
findSetters
@Deprecated public abstract LinkedHashMap<String,AnnotatedMethod> findSetters(VisibilityChecker<?> visibilityChecker) Deprecated.Since 1.9 usefindProperties()
-
findDeserializableFields
@Deprecated public abstract LinkedHashMap<String,AnnotatedField> findDeserializableFields(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties) Deprecated.Since 1.9 usefindProperties()
-
findSerializableFields
@Deprecated public abstract Map<String,AnnotatedField> findSerializableFields(VisibilityChecker<?> visibilityChecker, Collection<String> ignoredProperties) Deprecated.Since 1.9 use the non-deprecated version
-
findProperties()