Package cn.toutatis.xvoid.toolkit.clazz
Object AnnotationToolkit
-
- All Implemented Interfaces:
public class AnnotationToolkitToutatis_Gc 注解工具类
-
-
Field Summary
Fields Modifier and Type Field Description public final static AnnotationToolkitINSTANCE
-
Method Summary
Modifier and Type Method Description final <T extends Any> TgetValue(Annotation annotation, String key)final StringgetArrFirstString(Annotation annotation, String key)-
-
Method Detail
-
getValue
final <T extends Any> T getValue(Annotation annotation, String key)
- Parameters:
annotation- 注解实例/annotation instancekey- 键名 返回泛型值
-
getArrFirstString
final String getArrFirstString(Annotation annotation, String key)
- Parameters:
annotation- 注解实例key- 键名 获取注解中可空的字段中的值
-
-
-
-