This commit is contained in:
Looly
2022-07-17 22:17:34 +08:00
parent ca10c8e7b9
commit dfb12eb22c
2 changed files with 2 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ public abstract class AbstractLinkAnnotationPostProcessor implements Synthesized
}
/**
* 若{@link Link#annotation()}获取的类型{@link Annotation#getClass()},则返回{@code defaultType}
* 若{@link Link#annotation()}获取的类型{@code Annotation#getClass()},则返回{@code defaultType}
* 否则返回{@link Link#annotation()}指定的类型
*
* @param annotation {@link Link}注解

View File

@@ -84,6 +84,7 @@ public interface AnnotationAttribute {
/**
* 获取属性上的注解
*
* @param <T> 注解类型
* @param annotationType 注解类型
* @return 注解对象
*/