public class AnnotatedFieldCollector extends CollectorBase
Modifier and Type | Class and Description |
---|---|
private static class |
AnnotatedFieldCollector.FieldBuilder |
Modifier and Type | Field and Description |
---|---|
private ClassIntrospector.MixInResolver |
_mixInResolver |
private TypeFactory |
_typeFactory |
_intr, NO_ANNOTATION_MAPS, NO_ANNOTATIONS
Constructor and Description |
---|
AnnotatedFieldCollector(AnnotationIntrospector intr,
TypeFactory types,
ClassIntrospector.MixInResolver mixins) |
Modifier and Type | Method and 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) |
_emptyAnnotationMap, _emptyAnnotationMaps, _ignorableAnnotation, collectAnnotations, collectAnnotations, collectDefaultAnnotations, collectDefaultFromBundle, collectFromBundle
private final TypeFactory _typeFactory
private final ClassIntrospector.MixInResolver _mixInResolver
AnnotatedFieldCollector(AnnotationIntrospector intr, TypeFactory types, ClassIntrospector.MixInResolver mixins)
public static java.util.List<AnnotatedField> collectFields(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type)
java.util.List<AnnotatedField> collect(TypeResolutionContext tc, JavaType type)
private java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> _findFields(TypeResolutionContext tc, JavaType type, java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> fields)
private void _addFieldMixIns(java.lang.Class<?> mixInCls, java.lang.Class<?> targetClass, java.util.Map<java.lang.String,AnnotatedFieldCollector.FieldBuilder> fields)
private boolean _isIncludableField(java.lang.reflect.Field f)