添加@ForceAliasFor注解

This commit is contained in:
huangchengxing
2022-07-08 11:59:44 +08:00
parent 491c53e7dd
commit 17b48024ad
5 changed files with 51 additions and 10 deletions

View File

@@ -222,11 +222,12 @@ public class SyntheticMetaAnnotationTest {
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })
@interface AnnotationForceForAliasForTest {
@Link(
annotation = MetaAnnotationForForceAliasForTest.class,
attribute = "name",
type = RelationType.FORCE_ALIAS_FOR
)
//@Link(
// annotation = MetaAnnotationForForceAliasForTest.class,
// attribute = "name",
// type = RelationType.FORCE_ALIAS_FOR
//)
@ForceAliasFor(annotation = MetaAnnotationForForceAliasForTest.class, attribute = "name")
String value() default "";
}
@AnnotationForceForAliasForTest