public final class AnnotatedClass extends Annotated implements TypeResolutionContext
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AnnotatedClass.Creators | 
TypeResolutionContext.Basic| Modifier and Type | Field and Description | 
|---|---|
| protected AnnotationIntrospector | _annotationIntrospectorFilter used to determine which annotations to gather; used
 to optimize things so that unnecessary annotations are
 ignored. | 
| protected TypeBindings | _bindingsType bindings to use for members of  _class. | 
| protected Class<?> | _classClass for which annotations apply, and that owns other
 components (constructors, methods) | 
| protected Annotations | _classAnnotationsCombined list of Jackson annotations that the class has,
 including inheritable ones from super classes and interfaces | 
| protected AnnotatedClass.Creators | _creators | 
| protected List<AnnotatedField> | _fieldsMember fields of interest: ones that are either public,
 or have at least one annotation. | 
| protected AnnotatedMethodMap | _memberMethodsMember methods of interest; for now ones with 0 or 1 arguments
 (just optimization, since others won't be used now) | 
| protected ClassIntrospector.MixInResolver | _mixInResolverObject 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 Boolean | _nonStaticInnerClassLazily determined property to see if this is a non-static inner
 class. | 
| protected Class<?> | _primaryMixInPrimary mix-in class; one to use for the annotated class
 itself. | 
| protected List<JavaType> | _superTypesOrdered set of super classes and interfaces of the
 class itself: included in order of precedence | 
| protected JavaType | _type | 
| protected TypeFactory | _typeFactory | 
getGenericType, getType, isPublicprotected final JavaType _type
protected final Class<?> _class
protected final TypeBindings _bindings
_class.protected final List<JavaType> _superTypes
protected final AnnotationIntrospector _annotationIntrospector
protected final TypeFactory _typeFactory
protected final ClassIntrospector.MixInResolver _mixInResolver
protected final Class<?> _primaryMixIn
protected final Annotations _classAnnotations
protected AnnotatedClass.Creators _creators
protected AnnotatedMethodMap _memberMethods
protected List<AnnotatedField> _fields
protected transient Boolean _nonStaticInnerClass
@Deprecated public static AnnotatedClass construct(JavaType type, MapperConfig<?> config)
AnnotatedClassResolver instead.@Deprecated public static AnnotatedClass construct(JavaType type, MapperConfig<?> config, ClassIntrospector.MixInResolver mir)
AnnotatedClassResolver instead.@Deprecated public static AnnotatedClass constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config)
AnnotatedClassResolver instead.@Deprecated public static AnnotatedClass constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config, ClassIntrospector.MixInResolver mir)
AnnotatedClassResolver instead.public JavaType resolveType(Type type)
resolveType in interface TypeResolutionContextpublic Class<?> getAnnotated()
AnnotatedgetAnnotated in class Annotatedpublic int getModifiers()
getModifiers in class Annotatedpublic <A extends Annotation> A getAnnotation(Class<A> acls)
getAnnotation in class Annotatedpublic boolean hasAnnotation(Class<?> acls)
hasAnnotation in class Annotatedpublic boolean hasOneOf(Class<? extends Annotation>[] annoClasses)
public Class<?> getRawType()
AnnotatedgetRawType in class Annotated@Deprecated public Iterable<Annotation> annotations()
Annotatedannotations in class Annotatedpublic JavaType getType()
Annotatedpublic Annotations getAnnotations()
public boolean hasAnnotations()
public AnnotatedConstructor getDefaultConstructor()
public List<AnnotatedConstructor> getConstructors()
public List<AnnotatedMethod> getFactoryMethods()
@Deprecated public List<AnnotatedMethod> getStaticMethods()
getFactoryMethods() instead.public Iterable<AnnotatedMethod> memberMethods()
public int getMemberMethodCount()
public AnnotatedMethod findMethod(String name, Class<?>[] paramTypes)
public int getFieldCount()
public Iterable<AnnotatedField> fields()
public boolean isNonStaticInnerClass()
Copyright © 2008–2018 FasterXML. All rights reserved.