final class AnnotatedCreatorCollector extends CollectorBase
AnnotatedClass
.Modifier and Type | Field and Description |
---|---|
private AnnotatedConstructor |
_defaultConstructor |
private TypeResolutionContext |
_typeContext |
_intr, NO_ANNOTATION_MAPS, NO_ANNOTATIONS
Constructor and Description |
---|
AnnotatedCreatorCollector(AnnotationIntrospector intr,
TypeResolutionContext tc) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<AnnotatedConstructor> |
_findPotentialConstructors(JavaType type,
java.lang.Class<?> primaryMixIn)
Helper method for locating constructors (and matching mix-in overrides)
we might want to use; this is needed in order to mix information between
the two and construct resulting
AnnotatedConstructor s |
private java.util.List<AnnotatedMethod> |
_findPotentialFactories(JavaType type,
java.lang.Class<?> primaryMixIn) |
(package private) AnnotatedClass.Creators |
collect(JavaType type,
java.lang.Class<?> primaryMixIn) |
private AnnotationMap |
collectAnnotations(java.lang.reflect.AnnotatedElement main,
java.lang.reflect.AnnotatedElement mixin) |
private AnnotationMap[] |
collectAnnotations(java.lang.annotation.Annotation[][] mainAnns,
java.lang.annotation.Annotation[][] mixinAnns) |
private AnnotationMap |
collectAnnotations(ClassUtil.Ctor main,
ClassUtil.Ctor mixin) |
static AnnotatedClass.Creators |
collectCreators(AnnotationIntrospector intr,
TypeResolutionContext tc,
JavaType type,
java.lang.Class<?> primaryMixIn) |
protected AnnotatedConstructor |
constructDefaultConstructor(ClassUtil.Ctor ctor,
ClassUtil.Ctor mixin) |
protected AnnotatedMethod |
constructFactoryCreator(java.lang.reflect.Method m,
java.lang.reflect.Method mixin) |
protected AnnotatedConstructor |
constructNonDefaultConstructor(ClassUtil.Ctor ctor,
ClassUtil.Ctor mixin) |
private static boolean |
isIncludableConstructor(java.lang.reflect.Constructor<?> c) |
_emptyAnnotationMap, _emptyAnnotationMaps, _ignorableAnnotation, collectAnnotations, collectAnnotations, collectDefaultAnnotations, collectDefaultFromBundle, collectFromBundle
private final TypeResolutionContext _typeContext
private AnnotatedConstructor _defaultConstructor
AnnotatedCreatorCollector(AnnotationIntrospector intr, TypeResolutionContext tc)
public static AnnotatedClass.Creators collectCreators(AnnotationIntrospector intr, TypeResolutionContext tc, JavaType type, java.lang.Class<?> primaryMixIn)
AnnotatedClass.Creators collect(JavaType type, java.lang.Class<?> primaryMixIn)
private java.util.List<AnnotatedConstructor> _findPotentialConstructors(JavaType type, java.lang.Class<?> primaryMixIn)
AnnotatedConstructor
sprivate java.util.List<AnnotatedMethod> _findPotentialFactories(JavaType type, java.lang.Class<?> primaryMixIn)
protected AnnotatedConstructor constructDefaultConstructor(ClassUtil.Ctor ctor, ClassUtil.Ctor mixin)
protected AnnotatedConstructor constructNonDefaultConstructor(ClassUtil.Ctor ctor, ClassUtil.Ctor mixin)
protected AnnotatedMethod constructFactoryCreator(java.lang.reflect.Method m, java.lang.reflect.Method mixin)
private AnnotationMap[] collectAnnotations(java.lang.annotation.Annotation[][] mainAnns, java.lang.annotation.Annotation[][] mixinAnns)
private AnnotationMap collectAnnotations(ClassUtil.Ctor main, ClassUtil.Ctor mixin)
private final AnnotationMap collectAnnotations(java.lang.reflect.AnnotatedElement main, java.lang.reflect.AnnotatedElement mixin)
private static boolean isIncludableConstructor(java.lang.reflect.Constructor<?> c)