public class StandardRepeatableMappingParser extends Object implements RepeatableMappingParser
Repeatable注解对应的元素注解与容器注解层级SimpleRepeatableMappingRegistryREPEATABLE_BY_MAPPING_PARSER, STANDARD_REPEATABLE_MAPPING_PARSER| 构造器和说明 |
|---|
StandardRepeatableMappingParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
RepeatableMapping |
parse(Class<? extends Annotation> annotationType,
RepeatableMappingRegistry registry)
获取注解类上的
Repeatable,若存在则获取其指定的容器注解类,并为当前注解类型与其建立映射关系。 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckContainedAttributepublic RepeatableMapping parse(Class<? extends Annotation> annotationType, RepeatableMappingRegistry registry)
Repeatable,若存在则获取其指定的容器注解类,并为当前注解类型与其建立映射关系。 Repeatable.value()指定的注解类中,必须有名为VALUE的属性,
且该属性的返回值类型必须为annotationType。 parse 在接口中 RepeatableMappingParserannotationType - 枚举类registry - 注册表Copyright © 2022. All rights reserved.