mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
添加@ForceAliasFor注解
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user