Tabnine Logo
BeanDeserializerFactory.constructSettableProperty
Code IndexAdd Tabnine to your IDE (free)

How to use
constructSettableProperty
method
in
com.fasterxml.jackson.databind.deser.BeanDeserializerFactory

Best Java code snippets using com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.constructSettableProperty (Showing top 20 results out of 315)

origin: redisson/redisson

builder.addBackReferenceProperty(refName, constructSettableProperty(ctxt,
    beanDesc, refProp, refProp.getPrimaryType()));
origin: redisson/redisson

  AnnotatedMethod setter = propDef.getSetter();
  JavaType propertyType = setter.getParameterType(0);
  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (propDef.hasField()) {
  AnnotatedField field = propDef.getField();
  JavaType propertyType = field.getType();
  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else {
origin: redisson/redisson

SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(ctxt.getConfig(), am,
    new PropertyName("cause"));
SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef,
    am.getParameterType(0));
if (prop != null) {
origin: com.ning.billing/killbill-osgi-bundles-analytics

/**
 * Method that will find if bean has any managed- or back-reference properties,
 * and if so add them to bean, to be linked during resolution phase.
 */
protected void addReferenceProperties(DeserializationContext ctxt,
    BeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  // and then back references, not necessarily found as regular properties
  Map<String,AnnotatedMember> refs = beanDesc.findBackReferenceProperties();
  if (refs != null) {
    for (Map.Entry<String, AnnotatedMember> en : refs.entrySet()) {
      String name = en.getKey();
      AnnotatedMember m = en.getValue();
      Type genericType;
      if (m instanceof AnnotatedMethod) {
        genericType = ((AnnotatedMethod) m).getGenericParameterType(0);
      } else {
        genericType = m.getRawType();
      }
      SimpleBeanPropertyDefinition propDef = new SimpleBeanPropertyDefinition(m);
      builder.addBackReferenceProperty(name, constructSettableProperty(
          ctxt, beanDesc, propDef, genericType));
    }
  }
}

origin: com.fasterxml.jackson.core/com.springsource.com.fasterxml.jackson.core.jackson-databind

/**
 * Method that will find if bean has any managed- or back-reference properties,
 * and if so add them to bean, to be linked during resolution phase.
 */
protected void addReferenceProperties(DeserializationContext ctxt,
    BeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  // and then back references, not necessarily found as regular properties
  Map<String,AnnotatedMember> refs = beanDesc.findBackReferenceProperties();
  if (refs != null) {
    for (Map.Entry<String, AnnotatedMember> en : refs.entrySet()) {
      String name = en.getKey();
      AnnotatedMember m = en.getValue();
      Type genericType;
      if (m instanceof AnnotatedMethod) {
        genericType = ((AnnotatedMethod) m).getGenericParameterType(0);
      } else {
        genericType = m.getRawType();
      }
      SimpleBeanPropertyDefinition propDef = new SimpleBeanPropertyDefinition(m);
      builder.addBackReferenceProperty(name, constructSettableProperty(
          ctxt, beanDesc, propDef, genericType));
    }
  }
}

origin: com.eclipsesource.jaxrs/jersey-all

/**
 * Method that will find if bean has any managed- or back-reference properties,
 * and if so add them to bean, to be linked during resolution phase.
 */
protected void addReferenceProperties(DeserializationContext ctxt,
    BeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  // and then back references, not necessarily found as regular properties
  Map<String,AnnotatedMember> refs = beanDesc.findBackReferenceProperties();
  if (refs != null) {
    for (Map.Entry<String, AnnotatedMember> en : refs.entrySet()) {
      String name = en.getKey();
      AnnotatedMember m = en.getValue();
      Type genericType;
      if (m instanceof AnnotatedMethod) {
        genericType = ((AnnotatedMethod) m).getGenericParameterType(0);
      } else {
        genericType = m.getRawType();
      }
      SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(
          ctxt.getConfig(), m);
      builder.addBackReferenceProperty(name, constructSettableProperty(
          ctxt, beanDesc, propDef, genericType));
    }
  }
}

origin: hstaudacher/osgi-jax-rs-connector

/**
 * Method that will find if bean has any managed- or back-reference properties,
 * and if so add them to bean, to be linked during resolution phase.
 */
protected void addReferenceProperties(DeserializationContext ctxt,
    BeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  // and then back references, not necessarily found as regular properties
  Map<String,AnnotatedMember> refs = beanDesc.findBackReferenceProperties();
  if (refs != null) {
    for (Map.Entry<String, AnnotatedMember> en : refs.entrySet()) {
      String name = en.getKey();
      AnnotatedMember m = en.getValue();
      Type genericType;
      if (m instanceof AnnotatedMethod) {
        genericType = ((AnnotatedMethod) m).getGenericParameterType(0);
      } else {
        genericType = m.getRawType();
      }
      SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(
          ctxt.getConfig(), m);
      builder.addBackReferenceProperty(name, constructSettableProperty(
          ctxt, beanDesc, propDef, genericType));
    }
  }
}

origin: Nextdoor/bender

builder.addBackReferenceProperty(name, constructSettableProperty(ctxt,
    beanDesc, propDef, type));
origin: com.jwebmp.jackson.core/jackson-databind

builder.addBackReferenceProperty(refName, constructSettableProperty(ctxt,
    beanDesc, refProp, refProp.getPrimaryType()));
origin: com.fasterxml.jackson.core/com.springsource.com.fasterxml.jackson.core.jackson-databind

if (propDef.hasSetter()) {
  Type propertyType = propDef.getSetter().getGenericParameterType(0);
  prop = constructSettableProperty(ctxt,
      beanDesc, propDef, propertyType);
} else if (propDef.hasField()) {
  Type propertyType = propDef.getField().getGenericType();
  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (useGettersAsSetters && propDef.hasGetter()) {
origin: com.eclipsesource.jaxrs/jersey-all

  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (propDef.hasField()) {
  Type propertyType = propDef.getField().getGenericType();
  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (useGettersAsSetters && propDef.hasGetter()) {
origin: Nextdoor/bender

  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (propDef.hasField()) {
  JavaType propertyType = propDef.getField().getType();
  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (useGettersAsSetters && propDef.hasGetter()) {
origin: com.ning.billing/killbill-osgi-bundles-analytics

  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (propDef.hasField()) {
  Type propertyType = propDef.getField().getGenericType();
  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (useGettersAsSetters && propDef.hasGetter()) {
origin: hstaudacher/osgi-jax-rs-connector

  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (propDef.hasField()) {
  Type propertyType = propDef.getField().getGenericType();
  prop = constructSettableProperty(ctxt, beanDesc, propDef, propertyType);
} else if (useGettersAsSetters && propDef.hasGetter()) {
origin: com.ning.billing/killbill-osgi-bundles-analytics

if (am != null) { // should never be null
  SimpleBeanPropertyDefinition propDef = new SimpleBeanPropertyDefinition(am, "cause");
  SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef,
      am.getGenericParameterType(0));
  if (prop != null) {
origin: com.fasterxml.jackson.core/com.springsource.com.fasterxml.jackson.core.jackson-databind

if (am != null) { // should never be null
  SimpleBeanPropertyDefinition propDef = new SimpleBeanPropertyDefinition(am, "cause");
  SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef,
      am.getGenericParameterType(0));
  if (prop != null) {
origin: hstaudacher/osgi-jax-rs-connector

SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(ctxt.getConfig(), am,
    new PropertyName("cause"));
SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef,
    am.getGenericParameterType(0));
if (prop != null) {
origin: com.jwebmp.jackson.core/jackson-databind

SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(ctxt.getConfig(), am,
    new PropertyName("cause"));
SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef,
    am.getParameterType(0));
if (prop != null) {
origin: Nextdoor/bender

SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(ctxt.getConfig(), am,
    new PropertyName("cause"));
SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef,
    am.getParameterType(0));
if (prop != null) {
origin: com.eclipsesource.jaxrs/jersey-all

SimpleBeanPropertyDefinition propDef = SimpleBeanPropertyDefinition.construct(ctxt.getConfig(), am,
    new PropertyName("cause"));
SettableBeanProperty prop = constructSettableProperty(ctxt, beanDesc, propDef,
    am.getGenericParameterType(0));
if (prop != null) {
com.fasterxml.jackson.databind.deserBeanDeserializerFactoryconstructSettableProperty

Javadoc

Method that will construct a regular bean property setter using the given setter method.

Popular methods of BeanDeserializerFactory

  • <init>
  • addBeanProps
    Method called to figure out settable properties for the bean deserializer to use. Note: designed to
  • addInjectables
    Method called locate all members used for value injection (if any), constructor com.fasterxml.jackso
  • addObjectIdReader
  • buildBeanDeserializer
    Method that is to actually build a bean deserializer instance. All basic sanity checks have been don
  • _findCustomBeanDeserializer
  • buildBuilderBasedDeserializer
    Method for constructing a bean deserializer that uses specified intermediate Builder for binding dat
  • buildThrowableDeserializer
  • constructAnySetter
    Method called to construct fallback SettableAnyPropertyfor handling unknown bean properties, given a
  • constructBeanDeserializerBuilder
    Overridable method that constructs a BeanDeserializerBuilderwhich is used to accumulate information
  • constructSetterlessProperty
    Method that will construct a regular bean property setter using the given setter method.
  • filterBeanProps
    Helper method called to filter out explicit ignored properties, as well as properties that have "ign
  • constructSetterlessProperty,
  • filterBeanProps,
  • findDeserializerFromAnnotation,
  • findStdDeserializer,
  • findValueInstantiator,
  • isIgnorableType,
  • isPotentialBeanType,
  • materializeAbstractType,
  • addReferenceProperties

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Socket (java.net)
    Provides a client-side TCP socket.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now