| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final TypeBindings | |
| protected final Class | |
| 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 (full) annotation resolution should occur: is disabled for all JDK types. |
| protected final MapperConfig | |
| 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 MixInResolver | _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 | _type
Resolved Java type for which information is collected: also works as context for resolving possible generic type of accessors declared in this type. |
| private static final AnnotatedClass. |
| Access | Constructor and Description |
|---|---|
| pack-priv | AnnotatedClass(MapperConfig<?> config, 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, MixInResolver mir, boolean collectAnnotations)Constructor will not do any initializations, to allow for configuring instances differently depending on use cases |
| 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 Stream | |
| public boolean | equals(Object o)
Implements abstract tools. Indicates whether some other object is "equal to" this one. |
| public Iterable | |
| public AnnotatedMethod | |
| public Class | getAnnotated()
Implements abstract tools. Method that can be used to find actual JDK element that this instance represents. |
| public <A extends Annotation> A | getAnnotation(Class<A> acls)
Implements abstract tools.
|
| public Annotations | |
| public List | |
| public AnnotatedConstructor | |
| public List | |
| public int | |
| public int | |
| public int | |
| public String | |
| public Class | getRawType()
Implements abstract tools. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class. |
| public JavaType | getType()
Implements abstract tools. Full generic type of the annotated element; definition of what exactly this means depends on sub-class. |
| public boolean | hasAnnotation(Class<? extends Annotation> acls)
Implements abstract tools.
|
| public boolean | |
| public int | hashCode()
Implements abstract tools. Returns a hash code value for this object. |
| public boolean | hasOneOf(Class<? extends Annotation>[] annoClasses)
Implements abstract tools.
|
| public boolean | |
| public Iterable | |
| public JavaType | |
| public String | toString()
Implements abstract tools. Returns a string representation of the object. |
| _bindings | back to summary |
|---|---|
| protected final TypeBindings _bindings Type bindings to use for members of | |
| _class | back to summary |
|---|---|
| protected final Class<?> _class Type erased | |
| _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 (full) annotation resolution should occur: is disabled for all JDK types. | |
| _config | back to summary |
|---|---|
| protected final MapperConfig<?> _config | |
| _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 MixInResolver _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"). | |
| _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 Resolved Java type for which information is collected: also works as context for resolving possible generic type of accessors declared in this type. | |
| NO_CREATORS | back to summary |
|---|---|
| private static final AnnotatedClass. | |
| AnnotatedClass | back to summary |
|---|---|
| pack-priv AnnotatedClass(MapperConfig<?> config, JavaType type, Class<?> rawType, List<JavaType> superTypes, Class<?> primaryMixIn, Annotations classAnnotations, TypeBindings bindings, MixInResolver mir, boolean collectAnnotations) Constructor will not do any initializations, to allow for configuring instances differently depending on use cases | |
| 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 Stream Implements abstract tools.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract tools. 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 tools. Doc from tools. 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 tools.
| |
| 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 tools.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract tools.
| |
| getRawType | back to summary |
|---|---|
| public Class Implements abstract tools. Doc from tools. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class.
| |
| getType | back to summary |
|---|---|
| public JavaType getType() Implements abstract tools. Doc from tools. 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<? extends Annotation> acls) Implements abstract tools.
| |
| hasAnnotations | back to summary |
|---|---|
| public boolean hasAnnotations() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract tools. Doc from java. Returns a hash code value for this 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 tools.
| |
| isNonStaticInnerClass | back to summary |
|---|---|
| public boolean isNonStaticInnerClass() | |
| memberMethods | back to summary |
|---|---|
| public Iterable | |
| resolveType | back to summary |
|---|---|
| public JavaType resolveType(Type type) Implements tools.
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract tools. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| 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) | |