Top Fields Constructors Methods
tools.jackson.module.guice7

public Class GuiceAnnotationIntrospector

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

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from tools.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(MapperConfig<?> config, AnnotatedMember m)

Overrides tools.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.

Inherited from tools.jackson.databind.introspect.NopAnnotationIntrospector:
version

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides tools.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(Stream<Annotation> annotations)
findInjectableValueback to summary
public JacksonInject.Value findInjectableValue(MapperConfig<?> config, AnnotatedMember m)

Overrides tools.jackson.databind.AnnotationIntrospector.findInjectableValue.

Doc from tools.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.

Annotations
@Override