Class AnnotatedFieldCollector
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.CollectorBase
-
- com.fasterxml.jackson.databind.introspect.AnnotatedFieldCollector
-
public class AnnotatedFieldCollector extends CollectorBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
AnnotatedFieldCollector.FieldBuilder
-
Field Summary
Fields Modifier and Type Field Description private boolean
_collectAnnotations
private ClassIntrospector.MixInResolver
_mixInResolver
private TypeFactory
_typeFactory
-
Fields inherited from class com.fasterxml.jackson.databind.introspect.CollectorBase
_intr, NO_ANNOTATION_MAPS, NO_ANNOTATIONS
-
-
Constructor Summary
Constructors Constructor Description AnnotatedFieldCollector(AnnotationIntrospector intr, TypeFactory types, ClassIntrospector.MixInResolver mixins, boolean collectAnnotations)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_addFieldMixIns(java.lang.Class<?> mixInCls, java.lang.Class<?> targetClass, java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> fields)
Method called to add field mix-ins from given mix-in class (and its fields) into already collected actual fields (from introspected classes and their super-classes)private java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder>
_findFields(TypeResolutionContext tc, JavaType type, java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> fields)
private boolean
_isIncludableField(java.lang.reflect.Field f)
(package private) java.util.List<AnnotatedField>
collect(TypeResolutionContext tc, JavaType type)
static java.util.List<AnnotatedField>
collectFields(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, boolean collectAnnotations)
-
Methods inherited from class com.fasterxml.jackson.databind.introspect.CollectorBase
_emptyAnnotationMap, _emptyAnnotationMaps, _ignorableAnnotation, collectAnnotations, collectAnnotations, collectDefaultAnnotations, collectDefaultFromBundle, collectFromBundle
-
-
-
-
Field Detail
-
_typeFactory
private final TypeFactory _typeFactory
-
_mixInResolver
private final ClassIntrospector.MixInResolver _mixInResolver
-
_collectAnnotations
private final boolean _collectAnnotations
- Since:
- 2.11
-
-
Constructor Detail
-
AnnotatedFieldCollector
AnnotatedFieldCollector(AnnotationIntrospector intr, TypeFactory types, ClassIntrospector.MixInResolver mixins, boolean collectAnnotations)
-
-
Method Detail
-
collectFields
public static java.util.List<AnnotatedField> collectFields(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, boolean collectAnnotations)
-
collect
java.util.List<AnnotatedField> collect(TypeResolutionContext tc, JavaType type)
-
_findFields
private java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> _findFields(TypeResolutionContext tc, JavaType type, java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> fields)
-
_addFieldMixIns
private void _addFieldMixIns(java.lang.Class<?> mixInCls, java.lang.Class<?> targetClass, java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> fields)
Method called to add field mix-ins from given mix-in class (and its fields) into already collected actual fields (from introspected classes and their super-classes)
-
_isIncludableField
private boolean _isIncludableField(java.lang.reflect.Field f)
-
-