Class AnnotatedClass
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.Annotated
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.AnnotatedClass
- All Implemented Interfaces:
TypeResolutionContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.TypeResolutionContext
TypeResolutionContext.Basic, TypeResolutionContext.Empty
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AnnotationIntrospector
Filter used to determine which annotations to gather; used to optimize things so that unnecessary annotations are ignored.protected final TypeBindings
Type bindings to use for members of_class
.protected final Class<?>
Class for which annotations apply, and that owns other components (constructors, methods)protected final Annotations
Combined list of Jackson annotations that the class has, including inheritable ones from super classes and interfacesprotected final boolean
Flag that indicates whether (fulll) annotation resolution should occur: starting with 2.11 is disabled for JDK container types.protected AnnotatedClass.Creators
protected List<AnnotatedField>
Member fields of interest: ones that are either public, or have at least one annotation.protected AnnotatedMethodMap
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 Boolean
Lazily determined property to see if this is a non-static inner class.protected final Class<?>
Primary mix-in class; one to use for the annotated class itself.Ordered set of super classes and interfaces of the class itself: included in order of precedenceprotected final JavaType
protected final TypeFactory
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.static AnnotatedClass
construct
(JavaType type, MapperConfig<?> config) Deprecated.static AnnotatedClass
construct
(JavaType type, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.static AnnotatedClass
constructWithoutSuperTypes
(Class<?> raw, MapperConfig<?> config) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.static AnnotatedClass
constructWithoutSuperTypes
(Class<?> raw, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead.boolean
fields()
findMethod
(String name, Class<?>[] paramTypes) Class<?>
Method that can be used to find actual JDK element that this instance represents.<A extends Annotation>
AgetAnnotation
(Class<A> acls) int
int
int
getName()
Class<?>
"Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class.Deprecated.Since 2.9; usegetFactoryMethods()
instead.getType()
Full generic type of the annotated element; definition of what exactly this means depends on sub-class.boolean
hasAnnotation
(Class<?> acls) boolean
int
hashCode()
boolean
hasOneOf
(Class<? extends Annotation>[] annoClasses) boolean
resolveType
(Type type) toString()
-
Field Details
-
_type
- Since:
- 2.7
-
_class
Class for which annotations apply, and that owns other components (constructors, methods) -
_bindings
Type bindings to use for members of_class
.- Since:
- 2.7
-
_superTypes
Ordered set of super classes and interfaces of the class itself: included in order of precedence -
_annotationIntrospector
Filter used to determine which annotations to gather; used to optimize things so that unnecessary annotations are ignored. -
_typeFactory
- Since:
- 2.7
-
_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"). -
_primaryMixIn
Primary mix-in class; one to use for the annotated class itself. Can be null. -
_collectAnnotations
protected final boolean _collectAnnotationsFlag that indicates whether (fulll) annotation resolution should occur: starting with 2.11 is disabled for JDK container types.- Since:
- 2.11
-
_classAnnotations
Combined list of Jackson annotations that the class has, including inheritable ones from super classes and interfaces -
_creators
- Since:
- 2.9
-
_memberMethods
Member methods of interest; for now ones with 0 or 1 arguments (just optimization, since others won't be used now) -
_fields
Member fields of interest: ones that are either public, or have at least one annotation. -
_nonStaticInnerClass
Lazily determined property to see if this is a non-static inner class.- Since:
- 2.8.7
-
-
Method Details
-
construct
Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead. -
construct
@Deprecated public static AnnotatedClass construct(JavaType type, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead. -
constructWithoutSuperTypes
@Deprecated public static AnnotatedClass constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead. -
constructWithoutSuperTypes
@Deprecated public static AnnotatedClass constructWithoutSuperTypes(Class<?> raw, MapperConfig<?> config, ClassIntrospector.MixInResolver mir) Deprecated.Since 2.9, use methods inAnnotatedClassResolver
instead. -
resolveType
- Specified by:
resolveType
in interfaceTypeResolutionContext
-
getAnnotated
Description copied from class:Annotated
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.- Specified by:
getAnnotated
in classAnnotated
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in classAnnotated
-
getName
-
getAnnotation
- Specified by:
getAnnotation
in classAnnotated
-
hasAnnotation
- Specified by:
hasAnnotation
in classAnnotated
-
hasOneOf
-
getRawType
Description copied from class:Annotated
"Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class.- Specified by:
getRawType
in classAnnotated
-
annotations
Deprecated.Description copied from class:Annotated
Accessor that can be used to iterate over all the annotations associated with annotated component.- Specified by:
annotations
in classAnnotated
-
getType
Description copied from class:Annotated
Full generic type of the annotated element; definition of what exactly this means depends on sub-class. -
getAnnotations
-
hasAnnotations
public boolean hasAnnotations() -
getDefaultConstructor
-
getConstructors
-
getFactoryMethods
- Since:
- 2.9
-
getStaticMethods
Deprecated.Since 2.9; usegetFactoryMethods()
instead. -
memberMethods
-
getMemberMethodCount
public int getMemberMethodCount() -
findMethod
-
getFieldCount
public int getFieldCount() -
fields
-
isNonStaticInnerClass
public boolean isNonStaticInnerClass()- Since:
- 2.9
-
toString
-
hashCode
public int hashCode() -
equals
-
AnnotatedClassResolver
instead.