congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
BasicBeanDescription.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.codehaus.jackson.map.introspect.BasicBeanDescription
constructor

Best Java code snippets using org.codehaus.jackson.map.introspect.BasicBeanDescription.<init> (Showing top 20 results out of 315)

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

/**
 * Factory method to use for constructing an instance to use for purposes
 * other than building serializers or deserializers; will only have information
 * on class, not on properties.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forOtherUse(MapperConfig<?> config,
    JavaType type, AnnotatedClass ac)
{
  return new BasicBeanDescription(config, type,
      ac, Collections.<BeanPropertyDefinition>emptyList());
}

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

/**
 * Factory method to use for constructing an instance to use for building
 * serializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._jsonValueMethod = coll.getJsonValueMethod();
  desc._anyGetterMethod = coll.getAnyGetterMethod();
  return desc;
}
origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Factory method to use for constructing an instance to use for building
 * deserializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forDeserialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._anySetterMethod = coll.getAnySetterMethod();
  desc._ignoredPropertyNames = coll.getIgnoredPropertyNames();
  desc._ignoredPropertyNamesForDeser = coll.getIgnoredPropertyNamesForDeser();
  desc._injectables = coll.getInjectables();
  return desc;
}
origin: camunda/camunda-bpm-platform

/**
 * Factory method to use for constructing an instance to use for purposes
 * other than building serializers or deserializers; will only have information
 * on class, not on properties.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forOtherUse(MapperConfig<?> config,
    JavaType type, AnnotatedClass ac)
{
  return new BasicBeanDescription(config, type,
      ac, Collections.<BeanPropertyDefinition>emptyList());
}

origin: camunda/camunda-bpm-platform

/**
 * Factory method to use for constructing an instance to use for building
 * serializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._jsonValueMethod = coll.getJsonValueMethod();
  desc._anyGetterMethod = coll.getAnyGetterMethod();
  return desc;
}
origin: camunda/camunda-bpm-platform

/**
 * Factory method to use for constructing an instance to use for building
 * deserializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forDeserialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._anySetterMethod = coll.getAnySetterMethod();
  desc._ignoredPropertyNames = coll.getIgnoredPropertyNames();
  desc._ignoredPropertyNamesForDeser = coll.getIgnoredPropertyNamesForDeser();
  desc._injectables = coll.getInjectables();
  return desc;
}
origin: org.codehaus.jackson/jackson-mapper-lgpl

/**
 * Factory method to use for constructing an instance to use for purposes
 * other than building serializers or deserializers; will only have information
 * on class, not on properties.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forOtherUse(MapperConfig<?> config,
    JavaType type, AnnotatedClass ac)
{
  return new BasicBeanDescription(config, type,
      ac, Collections.<BeanPropertyDefinition>emptyList());
}

origin: ovea-deprecated/jetty-session-redis

/**
 * Factory method to use for constructing an instance to use for purposes
 * other than building serializers or deserializers; will only have information
 * on class, not on properties.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forOtherUse(MapperConfig<?> config,
    JavaType type, AnnotatedClass ac)
{
  return new BasicBeanDescription(config, type,
      ac, Collections.<BeanPropertyDefinition>emptyList());
}

origin: org.codehaus.jackson/com.springsource.org.codehaus.jackson.mapper

@Override
public BasicBeanDescription forClassAnnotations(MapperConfig cfg,
                        Class<?> c,
                        MixInResolver r)
{
  AnnotationIntrospector ai = cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.construct(c, ai, r);
  return new BasicBeanDescription(TypeFactory.type(c), ac, ai);
}
origin: org.codehaus.jackson/com.springsource.org.codehaus.jackson.mapper

@Override
public BasicBeanDescription forCreation(DeserializationConfig cfg,
                    Class<?> c,
                    MixInResolver r)
{
  AnnotationIntrospector ai = cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.construct(c, ai, r);
  ac.resolveCreators(true);
  return new BasicBeanDescription(TypeFactory.type(c), ac, ai);
}
origin: com.barchart.wrap/barchart-wrap-jackson

@Override
public BasicBeanDescription forDirectClassAnnotations(MapperConfig<?> cfg,
    Class<?> c, MixInResolver r)
{
  boolean useAnnotations = cfg.isAnnotationProcessingEnabled();
  AnnotationIntrospector ai =  cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.constructWithoutSuperTypes(c, (useAnnotations ? ai : null), r);
  return new BasicBeanDescription(cfg, cfg.constructType(c), ac);
}

origin: com.barchart.wrap/barchart-wrap-jackson

@Override
public BasicBeanDescription forClassAnnotations(MapperConfig<?> cfg,
    Class<?> c, MixInResolver r)
{
  boolean useAnnotations = cfg.isAnnotationProcessingEnabled();
  AnnotationIntrospector ai =  cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.construct(c, (useAnnotations ? ai : null), r);
  return new BasicBeanDescription(cfg, cfg.constructType(c), ac);
}
origin: com.barchart.wrap/barchart-wrap-jackson

@Override
public BasicBeanDescription forCreation(DeserializationConfig cfg,
    JavaType type, MixInResolver r)
{
  boolean useAnnotations = cfg.isAnnotationProcessingEnabled();
  AnnotationIntrospector ai =  cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.construct(type.getRawClass(), (useAnnotations ? ai : null), r);
  ac.resolveCreators(true);
  return new BasicBeanDescription(cfg, type, ac);
}
origin: ovea-deprecated/jetty-session-redis

/**
 * Factory method to use for constructing an instance to use for building
 * serializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._jsonValueMethod = coll.getJsonValueMethod();
  desc._anyGetterMethod = coll.getAnyGetterMethod();
  return desc;
}
origin: org.codehaus.jackson/jackson-mapper-lgpl

/**
 * Factory method to use for constructing an instance to use for building
 * serializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forSerialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._jsonValueMethod = coll.getJsonValueMethod();
  desc._anyGetterMethod = coll.getAnyGetterMethod();
  return desc;
}
origin: org.codehaus.jackson/com.springsource.org.codehaus.jackson.mapper

@Override
public BasicBeanDescription forDeserialization(DeserializationConfig cfg,
                        JavaType type,
                        MixInResolver r)
{
  AnnotationIntrospector ai = cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.construct(type.getRawClass(), ai, r);
  // everything needed for deserialization, including ignored methods
  ac.resolveMemberMethods(getDeserializationMethodFilter(cfg), true);
  // include all kinds of creator methods:
  ac.resolveCreators(true);
  // yes, we need info on ignored fields as well
  ac.resolveFields(true);
  return new BasicBeanDescription(type, ac, ai);
}
origin: ovea-deprecated/jetty-session-redis

/**
 * Factory method to use for constructing an instance to use for building
 * deserializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forDeserialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._anySetterMethod = coll.getAnySetterMethod();
  desc._ignoredPropertyNames = coll.getIgnoredPropertyNames();
  desc._injectables = coll.getInjectables();
  return desc;
}
origin: org.codehaus.jackson/com.springsource.org.codehaus.jackson.mapper

public BasicBeanDescription forSerialization(SerializationConfig cfg,
                       Class<?> c,
                       MixInResolver r)
{
  AnnotationIntrospector ai = cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.construct(c, ai, r);
  // False -> no need to collect ignorable member list
  ac.resolveMemberMethods(getSerializationMethodFilter(cfg), false);
  /* only the default constructor needed here (that's needed
   * in case we need to check default bean property values,
   * to omit them)
   */
  /* 31-Oct-2009, tatus: Actually, creator info will come in handy
   *   for resolving [JACKSON-170] as well
   */
  ac.resolveCreators(true);
  // False -> no need to collect ignorable field list
  ac.resolveFields(false);
  return new BasicBeanDescription(TypeFactory.type(c), ac, ai);
}
origin: org.codehaus.jackson/jackson-mapper-lgpl

/**
 * Factory method to use for constructing an instance to use for building
 * deserializers.
 * 
 * @since 1.9
 */
public static BasicBeanDescription forDeserialization(POJOPropertiesCollector coll)
{
  BasicBeanDescription desc = new BasicBeanDescription(coll.getConfig(),
      coll.getType(), coll.getClassDef(), coll.getProperties());
  desc._anySetterMethod = coll.getAnySetterMethod();
  desc._ignoredPropertyNames = coll.getIgnoredPropertyNames();
  desc._ignoredPropertyNamesForDeser = coll.getIgnoredPropertyNamesForDeser();
  desc._injectables = coll.getInjectables();
  return desc;
}
origin: com.barchart.wrap/barchart-wrap-jackson

@Override
public BasicBeanDescription forDeserialization(DeserializationConfig cfg,
    JavaType type, MixInResolver r)
{
  boolean useAnnotations = cfg.isAnnotationProcessingEnabled();
  AnnotationIntrospector ai =  cfg.getAnnotationIntrospector();
  AnnotatedClass ac = AnnotatedClass.construct(type.getRawClass(), (useAnnotations ? ai : null), r);
  // everything needed for deserialization, including ignored methods
  ac.resolveMemberMethods(getDeserializationMethodFilter(cfg), true);
  // include all kinds of creator methods:
  ac.resolveCreators(true);
  // yes, we need info on ignored fields as well
  ac.resolveFields(true);
  // Note: can't pass null AnnotationIntrospector for this...
  return new BasicBeanDescription(cfg, type, ac);
}
org.codehaus.jackson.map.introspectBasicBeanDescription<init>

Popular methods of BasicBeanDescription

  • getBeanClass
  • getClassInfo
  • _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
  • getConstructors
  • findSingleArgConstructor,
  • getConstructors,
  • getFactoryMethods,
  • getType,
  • hasKnownClassAnnotations,
  • instantiateBean,
  • isFactoryMethod,
  • bindingsForBeanType,
  • findAnyGetter

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setContentView (Activity)
  • findViewById (Activity)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Collectors (java.util.stream)
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JFileChooser (javax.swing)
  • JFrame (javax.swing)
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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