| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final AnnotationIntrospector | _annotationIntrospector
Filter used to determine which annotations to gather; used to optimize things so that unnecessary annotations are ignored. |
| protected final TypeBindings | |
| protected final Class | _class
Class for which annotations apply, and that owns other components (constructors, methods) |
| protected final Annotations | _classAnnotations
Combined list of Jackson annotations that the class has, including inheritable ones from super classes and interfaces |
| protected final boolean | _collectAnnotations
Flag that indicates whether (fulll) annotation resolution should occur: starting with 2.11 is disabled for JDK container types. |
| protected AnnotatedClass. | |
| protected List | _fields
Member fields of interest: ones that are either public, or have at least one annotation. |
| protected AnnotatedMethodMap | _memberMethods
Member methods of interest; for now ones with 0 or 1 arguments (just optimization, since others won't be used now) |
| protected final ClassIntrospector. | _mixInResolver
Object that knows mapping of mix-in classes (ones that contain annotations to add) with their target classes (ones that get these additional annotations "mixed in"). |
| protected transient Boolean | _nonStaticInnerClass
Lazily determined property to see if this is a non-static inner class. |
| protected final Class | _primaryMixIn
Primary mix-in class; one to use for the annotated class itself. |
| protected final List | _superTypes
Ordered set of super classes and interfaces of the class itself: included in order of precedence |
| protected final JavaType | |
| protected final TypeFactory | |
| private static final AnnotatedClass. |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotatedClass(JavaType
Fully resolved type; may be `null`, but ONLY if no member fields or
methods are to be accessed type, Class<?> Type-erased class; pass if no `type` needed or available rawType, List<JavaType> superTypes, Class<?> primaryMixIn, Annotations classAnnotations, TypeBindings bindings, AnnotationIntrospector aintr, ClassIntrospector.Constructor will not do any initializations, to allow for configuring instances differently depending on use cases |
| pack-priv | AnnotatedClass(JavaType type, Class<?> rawType, List<JavaType> superTypes, Class<?> primaryMixIn, Annotations classAnnotations, TypeBindings bindings, AnnotationIntrospector aintr, ClassIntrospector.
Deprecated
|
| pack-priv | AnnotatedClass(Class<?> rawType)
Constructor (only) used for creating primordial simple types (during bootstrapping) and array type placeholders where no fields or methods are needed. |
| Modifier and Type | Method and Description |
|---|---|
| private final AnnotatedClass. | |
| private final List | |
| private final AnnotatedMethodMap | |
| public Iterable | annotations()
Implements abstract com.
Deprecated
Accessor that can be used to iterate over all the annotations
associated with annotated component.
|
| public static AnnotatedClass | construct(JavaType type, MapperConfig<?> config)
Deprecated
Since 2.9, use methods in
AnnotatedClassResolver instead.
|
| public static AnnotatedClass | construct(JavaType type, MapperConfig<?> config, ClassIntrospector.
Deprecated
Since 2.9, use methods in
AnnotatedClassResolver instead.
|
| public static AnnotatedClass | constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config)
Deprecated
Since 2.9, use methods in
Method similar to AnnotatedClassResolver instead.
construct, but that will NOT include
information from supertypes; only class itself and any direct
mix-ins it may have.
|
| public static AnnotatedClass | constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config, ClassIntrospector.
Deprecated
Since 2.9, use methods in
AnnotatedClassResolver instead.
|
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. |
| public Iterable | |
| public AnnotatedMethod | |
| public Class | getAnnotated()
Implements abstract com. |
| public <A extends Annotation> A | getAnnotation(Class<A> acls)
Implements abstract com. |
| public Annotations | |
| public List | |
| public AnnotatedConstructor | |
| public List | |
| public int | |
| public int | |
| public int | |
| public String | |
| public Class | getRawType()
Implements abstract com. |
| public List | |
| public JavaType | getType()
Implements abstract com. |
| public boolean | hasAnnotation(Class<?> acls)
Implements abstract com. |
| public boolean | |
| public int | hashCode()
Implements abstract com. |
| public boolean | hasOneOf(Class<? extends Annotation>[] annoClasses)
Implements abstract com. |
| public boolean | |
| public Iterable | |
| public JavaType | |
| public String | toString()
Implements abstract com. |
| _annotationIntrospector | back to summary |
|---|---|
| protected final AnnotationIntrospector _annotationIntrospector Filter used to determine which annotations to gather; used to optimize things so that unnecessary annotations are ignored. | |
| _bindings | back to summary |
|---|---|
| protected final TypeBindings _bindings Type bindings to use for members of
| |
| _class | back to summary |
|---|---|
| protected final Class<?> _class Class for which annotations apply, and that owns other components (constructors, methods) | |
| _classAnnotations | back to summary |
|---|---|
| protected final Annotations _classAnnotations Combined list of Jackson annotations that the class has, including inheritable ones from super classes and interfaces | |
| _collectAnnotations | back to summary |
|---|---|
| protected final boolean _collectAnnotations Flag that indicates whether (fulll) annotation resolution should occur: starting with 2.11 is disabled for JDK container types.
| |
| _creators | back to summary |
|---|---|
protected AnnotatedClass.
| |
| _fields | back to summary |
|---|---|
| protected List<AnnotatedField> _fields Member fields of interest: ones that are either public, or have at least one annotation. | |
| _memberMethods | back to summary |
|---|---|
| protected AnnotatedMethodMap _memberMethods Member methods of interest; for now ones with 0 or 1 arguments (just optimization, since others won't be used now) | |
| _mixInResolver | back to summary |
|---|---|
| protected final ClassIntrospector. Object that knows mapping of mix-in classes (ones that contain annotations to add) with their target classes (ones that get these additional annotations "mixed in"). | |
| _nonStaticInnerClass | back to summary |
|---|---|
| protected transient Boolean _nonStaticInnerClass Lazily determined property to see if this is a non-static inner class.
| |
| _primaryMixIn | back to summary |
|---|---|
| protected final Class<?> _primaryMixIn Primary mix-in class; one to use for the annotated class itself. Can be null. | |
| _superTypes | back to summary |
|---|---|
| protected final List<JavaType> _superTypes Ordered set of super classes and interfaces of the class itself: included in order of precedence | |
| _type | back to summary |
|---|---|
protected final JavaType _type
| |
| _typeFactory | back to summary |
|---|---|
protected final TypeFactory _typeFactory
| |
| NO_CREATORS | back to summary |
|---|---|
| private static final AnnotatedClass. | |
| AnnotatedClass | back to summary |
|---|---|
| pack-priv AnnotatedClass(JavaType type, Class<?> rawType, List<JavaType> superTypes, Class<?> primaryMixIn, Annotations classAnnotations, TypeBindings bindings, AnnotationIntrospector aintr, ClassIntrospector. Constructor will not do any initializations, to allow for configuring instances differently depending on use cases | |
| AnnotatedClass | back to summary |
|---|---|
| pack-priv AnnotatedClass(JavaType type, Class<?> rawType, List<JavaType> superTypes, Class<?> primaryMixIn, Annotations classAnnotations, TypeBindings bindings, AnnotationIntrospector aintr, ClassIntrospector. Deprecated
| |
| AnnotatedClass | back to summary |
|---|---|
| pack-priv AnnotatedClass(Class<?> rawType) Constructor (only) used for creating primordial simple types (during bootstrapping) and array type placeholders where no fields or methods are needed.
| |
| _creators | back to summary |
|---|---|
| private final AnnotatedClass. | |
| _fields | back to summary |
|---|---|
| private final List | |
| _methods | back to summary |
|---|---|
| private final AnnotatedMethodMap _methods() | |
| annotations | back to summary |
|---|---|
| public Iterable Implements abstract com. Doc from com. Deprecated
Accessor that can be used to iterate over all the annotations associated with annotated component.
| |
| construct | back to summary |
|---|---|
| public static AnnotatedClass construct(JavaType type, MapperConfig<?> config)
Deprecated Since 2.9, use methods in
| |
| construct | back to summary |
|---|---|
| public static AnnotatedClass construct(JavaType type, MapperConfig<?> config, ClassIntrospector. Deprecated Since 2.9, use methods in
| |
| constructWithoutSuperTypes | back to summary |
|---|---|
| public static AnnotatedClass constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config)
Deprecated Since 2.9, use methods in Method similar to
| |
| constructWithoutSuperTypes | back to summary |
|---|---|
| public static AnnotatedClass constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config, ClassIntrospector. Deprecated Since 2.9, use methods in
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract com. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| fields | back to summary |
|---|---|
| public Iterable | |
| findMethod | back to summary |
|---|---|
| public AnnotatedMethod findMethod(String name, Class<?>[] paramTypes) | |
| getAnnotated | back to summary |
|---|---|
| public Class Implements abstract com. Doc from com. Method that can be used to find actual JDK element that this instance represents. It is non-null, except for method/constructor parameters which do not have a JDK counterpart.
| |
| getAnnotation | back to summary |
|---|---|
| public <A extends Annotation> A getAnnotation(Class<A> acls) Implements abstract com.
| |
| getAnnotations | back to summary |
|---|---|
| public Annotations getAnnotations() | |
| getConstructors | back to summary |
|---|---|
| public List | |
| getDefaultConstructor | back to summary |
|---|---|
| public AnnotatedConstructor getDefaultConstructor() | |
| getFactoryMethods | back to summary |
|---|---|
public List
| |
| getFieldCount | back to summary |
|---|---|
| public int getFieldCount() | |
| getMemberMethodCount | back to summary |
|---|---|
| public int getMemberMethodCount() | |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract com.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract com.
| |
| getRawType | back to summary |
|---|---|
| public Class Implements abstract com. Doc from com. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class.
| |
| getStaticMethods | back to summary |
|---|---|
| public List Deprecated Since 2.9; use
| |
| getType | back to summary |
|---|---|
| public JavaType getType() Implements abstract com. Doc from com. Full generic type of the annotated element; definition of what exactly this means depends on sub-class.
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(Class<?> acls) Implements abstract com.
| |
| hasAnnotations | back to summary |
|---|---|
| public boolean hasAnnotations() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract com. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasOneOf | back to summary |
|---|---|
| public boolean hasOneOf(Class<? extends Annotation>[] annoClasses) Implements abstract com.
| |
| isNonStaticInnerClass | back to summary |
|---|---|
public boolean isNonStaticInnerClass()
| |
| memberMethods | back to summary |
|---|---|
| public Iterable | |
| resolveType | back to summary |
|---|---|
| public JavaType resolveType(Type type) Implements com.
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract com. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public final List | constructors
Single argument constructors the class has, if any. |
| public final List | creatorMethods
Single argument static methods that might be usable as factory methods |
| public final AnnotatedConstructor | defaultConstructor
Default constructor of the annotated class, if it has one. |
| Access | Constructor and Description |
|---|---|
| public | Creators(AnnotatedConstructor defCtor, List<AnnotatedConstructor> ctors, List<AnnotatedMethod> ctorMethods)
|
| constructors | back to summary |
|---|---|
| public final List<AnnotatedConstructor> constructors Single argument constructors the class has, if any. | |
| creatorMethods | back to summary |
|---|---|
| public final List<AnnotatedMethod> creatorMethods Single argument static methods that might be usable as factory methods | |
| defaultConstructor | back to summary |
|---|---|
| public final AnnotatedConstructor defaultConstructor Default constructor of the annotated class, if it has one. | |
| Creators | back to summary |
|---|---|
| public Creators(AnnotatedConstructor defCtor, List<AnnotatedConstructor> ctors, List<AnnotatedMethod> ctorMethods) | |