Top Fields Constructors Methods
com.fasterxml.jackson.module.guice7

public Class GuiceAnnotationIntrospector

extends NopAnnotationIntrospector
Class Inheritance
Imports
com.fasterxml.jackson.annotation.JacksonInject, com.fasterxml.jackson.databind.introspect.*, com.google.inject.BindingAnnotation, .Key, jakarta.inject.Qualifier, java.lang.annotation.Annotation, java.util.Arrays

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector:
instance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Object
private Annotation
public JacksonInject.Value
findInjectableValue(AnnotatedMember
Member to check
m
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findInjectableValue.

Method called to find out whether given member expectes a value to be injected, and if so, what is the identifier of the value to use during injection.

public Object
Inherited from com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector:
version

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector.serialVersionUID.

Constructor Detail

GuiceAnnotationIntrospectorback to summary
public GuiceAnnotationIntrospector()

Method Detail

_findGuiceInjectIdback to summary
private Object _findGuiceInjectId(AnnotatedMember m)
findBindingAnnotationback to summary
private Annotation findBindingAnnotation(Iterable<Annotation> annotations)
findInjectableValueback to summary
public JacksonInject.Value findInjectableValue(AnnotatedMember m)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findInjectableValue.

Doc from com.fasterxml.jackson.databind.AnnotationIntrospector.findInjectableValue.

Method called to find out whether given member expectes a value to be injected, and if so, what is the identifier of the value to use during injection. Type if identifier needs to be compatible with provider of values (of type InjectableValues); often a simple String id is used.

Parameters
m:AnnotatedMember

Member to check

Returns:JacksonInject.Value

Identifier of value to inject, if any; null if no injection indicator is found

Annotations
@Override
findInjectableValueIdback to summary
public Object findInjectableValueId(AnnotatedMember m)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findInjectableValueId.

Deprecated

Annotations
@Deprecated
@Override