Class AnnotatedMethodCollector
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.CollectorBase
-
- com.fasterxml.jackson.databind.introspect.AnnotatedMethodCollector
-
public class AnnotatedMethodCollector extends CollectorBase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
AnnotatedMethodCollector.MethodBuilder
-
Field Summary
Fields Modifier and Type Field Description private boolean
_collectAnnotations
private ClassIntrospector.MixInResolver
_mixInResolver
-
Fields inherited from class com.fasterxml.jackson.databind.introspect.CollectorBase
_intr, NO_ANNOTATION_MAPS, NO_ANNOTATIONS
-
-
Constructor Summary
Constructors Constructor Description AnnotatedMethodCollector(AnnotationIntrospector intr, ClassIntrospector.MixInResolver mixins, boolean collectAnnotations)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_addMemberMethods(TypeResolutionContext tc, java.lang.Class<?> cls, java.util.Map<MemberKey,AnnotatedMethodCollector.MethodBuilder> methods, java.lang.Class<?> mixInCls)
protected void
_addMethodMixIns(TypeResolutionContext tc, java.lang.Class<?> targetClass, java.util.Map<MemberKey,AnnotatedMethodCollector.MethodBuilder> methods, java.lang.Class<?> mixInCls)
private boolean
_isIncludableMemberMethod(java.lang.reflect.Method m)
(package private) AnnotatedMethodMap
collect(TypeFactory typeFactory, TypeResolutionContext tc, JavaType mainType, java.util.List<JavaType> superTypes, java.lang.Class<?> primaryMixIn)
static AnnotatedMethodMap
collectMethods(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, java.util.List<JavaType> superTypes, java.lang.Class<?> primaryMixIn, boolean collectAnnotations)
-
Methods inherited from class com.fasterxml.jackson.databind.introspect.CollectorBase
_emptyAnnotationMap, _emptyAnnotationMaps, _ignorableAnnotation, collectAnnotations, collectAnnotations, collectDefaultAnnotations, collectDefaultFromBundle, collectFromBundle
-
-
-
-
Field Detail
-
_mixInResolver
private final ClassIntrospector.MixInResolver _mixInResolver
-
_collectAnnotations
private final boolean _collectAnnotations
- Since:
- 2.11
-
-
Constructor Detail
-
AnnotatedMethodCollector
AnnotatedMethodCollector(AnnotationIntrospector intr, ClassIntrospector.MixInResolver mixins, boolean collectAnnotations)
-
-
Method Detail
-
collectMethods
public static AnnotatedMethodMap collectMethods(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, java.util.List<JavaType> superTypes, java.lang.Class<?> primaryMixIn, boolean collectAnnotations)
-
collect
AnnotatedMethodMap collect(TypeFactory typeFactory, TypeResolutionContext tc, JavaType mainType, java.util.List<JavaType> superTypes, java.lang.Class<?> primaryMixIn)
-
_addMemberMethods
private void _addMemberMethods(TypeResolutionContext tc, java.lang.Class<?> cls, java.util.Map<MemberKey,AnnotatedMethodCollector.MethodBuilder> methods, java.lang.Class<?> mixInCls)
-
_addMethodMixIns
protected void _addMethodMixIns(TypeResolutionContext tc, java.lang.Class<?> targetClass, java.util.Map<MemberKey,AnnotatedMethodCollector.MethodBuilder> methods, java.lang.Class<?> mixInCls)
-
_isIncludableMemberMethod
private boolean _isIncludableMemberMethod(java.lang.reflect.Method m)
-
-