Tabnine Logo
BasicBeanDescription.hasKnownClassAnnotations
Code IndexAdd Tabnine to your IDE (free)

How to use
hasKnownClassAnnotations
method
in
org.codehaus.jackson.map.introspect.BasicBeanDescription

Best Java code snippets using org.codehaus.jackson.map.introspect.BasicBeanDescription.hasKnownClassAnnotations (Showing top 6 results out of 315)

origin: org.codehaus.jackson/jackson-mapper-asl

if (beanDesc.hasKnownClassAnnotations()) {
  return builder.createDummy();
origin: camunda/camunda-bpm-platform

if (beanDesc.hasKnownClassAnnotations()) {
  return builder.createDummy();
origin: org.codehaus.jackson/com.springsource.org.codehaus.jackson.mapper

protected JsonSerializer<Object> constructBeanSerializer(SerializationConfig config,
                             BasicBeanDescription beanDesc)
{
  // First: any detectable (auto-detect, annotations) properties to serialize?
  List<BeanPropertyWriter> props = findBeanProperties(config, beanDesc);
  if (props == null || props.size() == 0) {
    // No properties, no serializer
    /* 27-Nov-2009, tatu: Except that as per [JACKSON-201], we are
     *   ok with that as long as it has a recognized class annotation
     *  (which may come from a mix-in too)
     */
    if (beanDesc.hasKnownClassAnnotations()) {
      return BeanSerializer.createDummy(beanDesc.classDescribed());
    }
    return null;
  }
  // Any properties to suppress?
  props = filterBeanProperties(config, beanDesc, props);
  // Do they need to be sorted in some special way?
  props = sortBeanProperties(config, beanDesc, props);
  BeanSerializer ser = new BeanSerializer(beanDesc.classDescribed(), props);
  // One more thing: need to gather view information, if any:
  ser = processViews(config, beanDesc, ser, props);
  return ser;
}
origin: com.barchart.wrap/barchart-wrap-jackson

if (beanDesc.hasKnownClassAnnotations()) {
  return builder.createDummy();
origin: ovea-deprecated/jetty-session-redis

if (beanDesc.hasKnownClassAnnotations()) {
  return builder.createDummy();
origin: org.codehaus.jackson/jackson-mapper-lgpl

if (beanDesc.hasKnownClassAnnotations()) {
  return builder.createDummy();
org.codehaus.jackson.map.introspectBasicBeanDescriptionhasKnownClassAnnotations

Javadoc

Method for checking whether class being described has any annotations recognized by registered annotation introspector.

Popular methods of BasicBeanDescription

  • getBeanClass
  • getClassInfo
  • <init>
  • _findPropertyFields
  • findAnySetter
    Method used to locate the method of introspected class that implements org.codehaus.jackson.annotate
  • findDefaultConstructor
    Method that will locate the no-arg constructor for this class, if it has one, and that constructor h
  • findFactoryMethod
    Method that can be called to find if introspected class declares a static "valueOf" factory method t
  • findJsonValueMethod
    Method for locating the getter method that is annotated with org.codehaus.jackson.annotate.JsonValue
  • findMethod
  • findProperties
  • findSerializationInclusion
    Method for determining whether null properties should be written out for a Bean of introspected type
  • findSingleArgConstructor
    Method that can be called to locate a single-arg constructor that takes specified exact type (will n
  • findSerializationInclusion,
  • findSingleArgConstructor,
  • getConstructors,
  • getFactoryMethods,
  • getType,
  • instantiateBean,
  • isFactoryMethod,
  • bindingsForBeanType,
  • findAnyGetter

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JComboBox (javax.swing)
  • Top plugins for WebStorm
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