Class BasicBeanDescription

java.lang.Object
tools.jackson.databind.BeanDescription
tools.jackson.databind.introspect.BasicBeanDescription

public class BasicBeanDescription extends BeanDescription
Default BeanDescription implementation used by Jackson.

Although sub-classing is a theoretical possibility there are no known use cases for that, nor is such usage tested or supported. Separation from API is mostly to isolate some implementation details here and keep API simple.

  • Field Details

    • NO_VIEWS

      private static final Class<?>[] NO_VIEWS
    • _propCollector

      protected final POJOPropertiesCollector _propCollector
      We will hold a reference to the collector in cases where information is lazily accessed and constructed; properties are only accessed when they are actually needed.
    • _config

      protected final MapperConfig<?> _config
    • _intr

      protected final AnnotationIntrospector _intr
    • _classInfo

      protected final AnnotatedClass _classInfo
      Information collected about the class introspected.
    • _defaultViews

      protected Class<?>[] _defaultViews
    • _defaultViewsResolved

      protected boolean _defaultViewsResolved
    • _properties

      protected List<BeanPropertyDefinition> _properties
      Properties collected for the POJO; initialized as needed.
    • _objectIdInfo

      protected ObjectIdInfo _objectIdInfo
      Details of Object Id to include, if any
    • _classFormat

      protected transient com.fasterxml.jackson.annotation.JsonFormat.Value _classFormat
      Results of introspecting `@JsonFormat` configuration for class, if any.
      Since:
      3.0
  • Constructor Details

  • Method Details