类 AnnotationTypeMappings.Cache
java.lang.Object
cn.taketoday.core.annotation.AnnotationTypeMappings.Cache
Cache created per
AnnotationFilter.-
字段概要
字段修饰符和类型字段说明private final AnnotationFilterprivate final ConcurrentReferenceHashMap<Class<? extends Annotation>,AnnotationTypeMappings> private final RepeatableContainers -
构造器概要
构造器构造器说明Cache(RepeatableContainers repeatableContainers, AnnotationFilter filter) Create a cache instance with the specified filter. -
方法概要
修饰符和类型方法说明(专用程序包) AnnotationTypeMappingsget(Class<? extends Annotation> annotationType, Set<Class<? extends Annotation>> visitedAnnotationTypes) Get or createAnnotationTypeMappingsfor the specified annotation type.
-
字段详细资料
-
filter
-
repeatableContainers
-
mappings
private final ConcurrentReferenceHashMap<Class<? extends Annotation>,AnnotationTypeMappings> mappings
-
-
构造器详细资料
-
Cache
Cache(RepeatableContainers repeatableContainers, AnnotationFilter filter) Create a cache instance with the specified filter.- 参数:
filter- the annotation filter
-
-
方法详细资料
-
get
AnnotationTypeMappings get(Class<? extends Annotation> annotationType, Set<Class<? extends Annotation>> visitedAnnotationTypes) Get or createAnnotationTypeMappingsfor the specified annotation type.- 参数:
annotationType- the annotation typevisitedAnnotationTypes- the set of annotations that we have already visited; used to avoid infinite recursion for recursive annotations which some JVM languages support (such as Kotlin)- 返回:
- a new or existing
AnnotationTypeMappingsinstance
-