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

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

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

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

/**
 * Method called locate all members used for value injection (if any),
 * constructor {@link org.codehaus.jackson.map.deser.impl.ValueInjector} instances, and add them to builder.
 * 
 * @since 1.9
 */
protected void addInjectables(DeserializationConfig config,
    BasicBeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  Map<Object, AnnotatedMember> raw = beanDesc.findInjectables();
  if (raw != null) {
    boolean fixAccess = config.isEnabled(DeserializationConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS);
    for (Map.Entry<Object, AnnotatedMember> entry : raw.entrySet()) {
      AnnotatedMember m = entry.getValue();
      if (fixAccess) {
        m.fixAccess(); // to ensure we can call it
      }
      builder.addInjectable(m.getName(), beanDesc.resolveType(m.getGenericType()),
          beanDesc.getClassAnnotations(), m, entry.getKey());
    }
  }
}
origin: camunda/camunda-bpm-platform

/**
 * Method called locate all members used for value injection (if any),
 * constructor {@link org.codehaus.jackson.map.deser.impl.ValueInjector} instances, and add them to builder.
 * 
 * @since 1.9
 */
protected void addInjectables(DeserializationConfig config,
    BasicBeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  Map<Object, AnnotatedMember> raw = beanDesc.findInjectables();
  if (raw != null) {
    boolean fixAccess = config.isEnabled(DeserializationConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS);
    for (Map.Entry<Object, AnnotatedMember> entry : raw.entrySet()) {
      AnnotatedMember m = entry.getValue();
      if (fixAccess) {
        m.fixAccess(); // to ensure we can call it
      }
      builder.addInjectable(m.getName(), beanDesc.resolveType(m.getGenericType()),
          beanDesc.getClassAnnotations(), m, entry.getKey());
    }
  }
}
origin: org.codehaus.jackson/jackson-mapper-lgpl

/**
 * Method called locate all members used for value injection (if any),
 * constructor {@link org.codehaus.jackson.map.deser.impl.ValueInjector} instances, and add them to builder.
 * 
 * @since 1.9
 */
protected void addInjectables(DeserializationConfig config,
    BasicBeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  Map<Object, AnnotatedMember> raw = beanDesc.findInjectables();
  if (raw != null) {
    boolean fixAccess = config.isEnabled(DeserializationConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS);
    for (Map.Entry<Object, AnnotatedMember> entry : raw.entrySet()) {
      AnnotatedMember m = entry.getValue();
      if (fixAccess) {
        m.fixAccess(); // to ensure we can call it
      }
      builder.addInjectable(m.getName(), beanDesc.resolveType(m.getGenericType()),
          beanDesc.getClassAnnotations(), m, entry.getKey());
    }
  }
}
origin: ovea-deprecated/jetty-session-redis

/**
 * Method called locate all members used for value injection (if any),
 * constructor {@link org.codehaus.jackson.map.deser.impl.ValueInjector} instances, and add them to builder.
 * 
 * @since 1.9
 */
protected void addInjectables(DeserializationConfig config,
    BasicBeanDescription beanDesc, BeanDeserializerBuilder builder)
  throws JsonMappingException
{
  Map<Object, AnnotatedMember> raw = beanDesc.findInjectables();
  if (raw != null) {
    boolean fixAccess = config.isEnabled(DeserializationConfig.Feature.CAN_OVERRIDE_ACCESS_MODIFIERS);
    for (Map.Entry<Object, AnnotatedMember> entry : raw.entrySet()) {
      AnnotatedMember m = entry.getValue();
      if (fixAccess) {
        m.fixAccess(); // to ensure we can call it
      }
      builder.addInjectable(m.getName(), beanDesc.resolveType(m.getGenericType()),
          beanDesc.getClassAnnotations(), m, entry.getKey());
    }
  }
}
org.codehaus.jackson.map.introspectBasicBeanDescriptionresolveType

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,
  • hasKnownClassAnnotations,
  • instantiateBean,
  • isFactoryMethod,
  • bindingsForBeanType,
  • findAnyGetter

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • String (java.lang)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JFrame (javax.swing)
  • Top Sublime Text plugins
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