ConcreteBeanPropertyBase
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase(Showing top 15 results out of 315)

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

@Override
@Deprecated
public final JsonFormat.Value findFormatOverrides(AnnotationIntrospector intr) {
  JsonFormat.Value f = null;
  if (intr != null) {
    AnnotatedMember member = getMember();
    if (member != null) {
      f = intr.findFormat(member);
    }
  }
  if (f == null) {
    f = EMPTY_FORMAT;
  }
  return f;
}
origin: com.fasterxml.jackson.core/jackson-databind

  @Override
  public List<PropertyName> findAliases(MapperConfig<?> config)
  {
    List<PropertyName> aliases = _aliases;
    if (aliases == null) {
      AnnotationIntrospector intr = config.getAnnotationIntrospector();
      if (intr != null) {
        aliases = intr.findPropertyAliases(getMember());
      }
      if (aliases == null) {
        aliases = Collections.emptyList();
      }
      _aliases = aliases;
    }
    return aliases;
  }
}
origin: redisson/redisson

@Override
public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType)
{
  // 08-Oct-2015, tatu: Unlike with Format, let's not cache locally here, for now?
  JsonFormat.Value v0 = config.getDefaultPropertyFormat(baseType);
  AnnotationIntrospector intr = config.getAnnotationIntrospector();
  AnnotatedMember member = getMember();
  if ((intr == null) || (member == null)) {
    return v0;
  }
  JsonFormat.Value v = intr.findFormat(member);
  if (v == null) {
    return v0;
  }
  return v0.withOverrides(v);
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType)
{
  AnnotationIntrospector intr = config.getAnnotationIntrospector();
  AnnotatedMember member = getMember();
  if (member == null) {
    JsonInclude.Value def = config.getDefaultPropertyInclusion(baseType);
    return def;
  }
  JsonInclude.Value v0 = config.getDefaultInclusion(baseType, member.getRawType());
  if (intr == null) {
    return v0;
  }
  JsonInclude.Value v = intr.findPropertyInclusion(member);
  if (v0 == null) {
    return v;
  }
  return v0.withOverrides(v);
}
origin: redisson/redisson

  @Override
  public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType)
  {
    JsonInclude.Value v0 = config.getDefaultPropertyInclusion(baseType);
    AnnotationIntrospector intr = config.getAnnotationIntrospector();
    AnnotatedMember member = getMember();
    if ((intr == null) || (member == null)) {
      return v0;
    }
    JsonInclude.Value v = intr.findPropertyInclusion(member);
    if (v == null) {
      return v0;
    }
    return v0.withOverrides(v);
  }
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType)
{
  // 15-Apr-2016, tatu: Let's calculate lazily, retain; assumption being however that
  //    baseType is always the same
  JsonFormat.Value v = _propertyFormat;
  if (v == null) {
    JsonFormat.Value v1 = config.getDefaultPropertyFormat(baseType);
    JsonFormat.Value v2 = null;
    AnnotationIntrospector intr = config.getAnnotationIntrospector();
    if (intr != null) {
      AnnotatedMember member = getMember();
      if (member != null) {
        v2 = intr.findFormat(member);
      }
    }
    if (v1 == null) {
      v = (v2 == null) ? EMPTY_FORMAT : v2;
    } else {
      v = (v2 == null) ? v1 : v1.withOverrides(v2);
    }
    _propertyFormat = v;
  }
  return v;
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
@Deprecated
public final JsonFormat.Value findFormatOverrides(AnnotationIntrospector intr) {
  JsonFormat.Value f = null;
  if (intr != null) {
    AnnotatedMember member = getMember();
    if (member != null) {
      f = intr.findFormat(member);
    }
  }
  if (f == null) {
    f = EMPTY_FORMAT;
  }
  return f;
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
@Deprecated
public final JsonFormat.Value findFormatOverrides(AnnotationIntrospector intr) {
  JsonFormat.Value f = null;
  if (intr != null) {
    AnnotatedMember member = getMember();
    if (member != null) {
      f = intr.findFormat(member);
    }
  }
  if (f == null) {
    f = EMPTY_FORMAT;
  }
  return f;
}
origin: com.fasterxml.jackson.core/jackson-databind

  @Override
  public List<PropertyName> findAliases(MapperConfig<?> config)
  {
    List<PropertyName> aliases = _aliases;
    if (aliases == null) {
      AnnotationIntrospector intr = config.getAnnotationIntrospector();
      if (intr != null) {
        aliases = intr.findPropertyAliases(getMember());
      }
      if (aliases == null) {
        aliases = Collections.emptyList();
      }
      _aliases = aliases;
    }
    return aliases;
  }
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType)
{
  AnnotationIntrospector intr = config.getAnnotationIntrospector();
  AnnotatedMember member = getMember();
  if (member == null) {
    JsonInclude.Value def = config.getDefaultPropertyInclusion(baseType);
    return def;
  }
  JsonInclude.Value v0 = config.getDefaultInclusion(baseType, member.getRawType());
  if (intr == null) {
    return v0;
  }
  JsonInclude.Value v = intr.findPropertyInclusion(member);
  if (v0 == null) {
    return v;
  }
  return v0.withOverrides(v);
}
origin: com.fasterxml.jackson.core/jackson-databind

  @Override
  public List<PropertyName> findAliases(MapperConfig<?> config)
  {
    List<PropertyName> aliases = _aliases;
    if (aliases == null) {
      AnnotationIntrospector intr = config.getAnnotationIntrospector();
      if (intr != null) {
        aliases = intr.findPropertyAliases(getMember());
      }
      if (aliases == null) {
        aliases = Collections.emptyList();
      }
      _aliases = aliases;
    }
    return aliases;
  }
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType)
{
  AnnotationIntrospector intr = config.getAnnotationIntrospector();
  AnnotatedMember member = getMember();
  if (member == null) {
    JsonInclude.Value def = config.getDefaultPropertyInclusion(baseType);
    return def;
  }
  JsonInclude.Value v0 = config.getDefaultInclusion(baseType, member.getRawType());
  if (intr == null) {
    return v0;
  }
  JsonInclude.Value v = intr.findPropertyInclusion(member);
  if (v0 == null) {
    return v;
  }
  return v0.withOverrides(v);
}
origin: redisson/redisson

@Override
@Deprecated
public final JsonFormat.Value findFormatOverrides(AnnotationIntrospector intr) {
  JsonFormat.Value f = _format;
  if (f == null) { // not yet looked up, do that
    if (intr != null) {
      AnnotatedMember member = getMember();
      if (member != null) {
        f = intr.findFormat(member);
      }
    }
    if (f == null) {
      f = EMPTY_FORMAT;
    }
  }
  return f;
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType)
{
  // 15-Apr-2016, tatu: Let's calculate lazily, retain; assumption being however that
  //    baseType is always the same
  JsonFormat.Value v = _propertyFormat;
  if (v == null) {
    JsonFormat.Value v1 = config.getDefaultPropertyFormat(baseType);
    JsonFormat.Value v2 = null;
    AnnotationIntrospector intr = config.getAnnotationIntrospector();
    if (intr != null) {
      AnnotatedMember member = getMember();
      if (member != null) {
        v2 = intr.findFormat(member);
      }
    }
    if (v1 == null) {
      v = (v2 == null) ? EMPTY_FORMAT : v2;
    } else {
      v = (v2 == null) ? v1 : v1.withOverrides(v2);
    }
    _propertyFormat = v;
  }
  return v;
}
origin: com.fasterxml.jackson.core/jackson-databind

@Override
public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType)
{
  // 15-Apr-2016, tatu: Let's calculate lazily, retain; assumption being however that
  //    baseType is always the same
  JsonFormat.Value v = _propertyFormat;
  if (v == null) {
    JsonFormat.Value v1 = config.getDefaultPropertyFormat(baseType);
    JsonFormat.Value v2 = null;
    AnnotationIntrospector intr = config.getAnnotationIntrospector();
    if (intr != null) {
      AnnotatedMember member = getMember();
      if (member != null) {
        v2 = intr.findFormat(member);
      }
    }
    if (v1 == null) {
      v = (v2 == null) ? EMPTY_FORMAT : v2;
    } else {
      v = (v2 == null) ? v1 : v1.withOverrides(v2);
    }
    _propertyFormat = v;
  }
  return v;
}
com.fasterxml.jackson.databind.introspectConcreteBeanPropertyBase

Javadoc

Intermediate BeanProperty class shared by concrete readable- and writable property implementations for sharing common functionality.

Most used methods

  • getMember

Popular classes and methods

  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • addToBackStack (FragmentTransaction)
  • Font (java.awt)
  • PrintStream (java.io)
    Wraps an existing OutputStream and provides convenience methods for writing common data types in a h
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on *

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)