Package com.fasterxml.classmate
package com.fasterxml.classmate
Package that contains main public interface of ClassMate
package.
Most commonly resolution starts with TypeResolver
,
using its resolve()
method, which returns a
ResolvedType
instance.
These type objects contain all necessary information about type itself;
but if type information on members (fields, methods, constructors, static
members) is needed, MemberResolver
can
resolve types for members: it takes ResolvedType
s.
-
ClassDescriptionInterface for object that determines handling of annotations in regards to inheritance, overrides.Simple implementation that can be configured with default behavior for unknown annotations, as well as explicit behaviors for enumerated annotation types.Enumeration that defines different settings for handling behavior of individual annotationsInterface for object that can provide mix-ins to override annotations.To make it easy to use simple override implementation (where overrides are direct and explicit), here is a build that allow constructing such override instance.Simple implementation configured with explicit associations with target class as key, and overrides as ordered list of classes (with first entry having precedence over later ones).Container class used for storing set of annotations resolved for types (classes) as members (methods, fields, constructors).Filter<T>Interface that defines API for basic filtering objects, used to prune set of things to include in result sets like flattened member lists.GenericType<T>This class is used to pass full generics type information, and avoid problems with type erasure (that basically removes most usable type references from runtime Class objects).Builder class used to completely resolve members (fields, methods, constructors) of
ResolvedType
s (generics-aware classes).Class that contains information about fully resolved members of a type; resolution meaning that masking is handled for methods, and all inheritable annotations are flattened using optional overrides as well ("mix-in annotations").Helper class we use to reduce number of calls toAnnotationConfiguration
; mostly because determination may be expensive.Helper class used for storing binding of local type variables to matching resolved types, in context of a single class.Object that is used for resolving generic type information of a class so that it is accessible using simple API.