public interface Annotated
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation[] |
getAnnotations() |
<T extends Annotation> |
getDeclaredAnnotation(Class<T> annotationClass) |
<T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
T - annotationClass - annotationClassAnnotation[] getAnnotations()
Copyright © 2021. All rights reserved.