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

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

Best Java code snippets using org.codehaus.jackson.map.introspect.BasicBeanDescription.findInjectables (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.introspectBasicBeanDescriptionfindInjectables

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

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • From CI to AI: The AI layer in your organization
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