共 3 篇文章 |
|
阅484 转1 评0 公众公开 12-04-01 10:57 |
无任何方法/属性Annotation范例: MyAnnotation0.javapackage com.test.annotation;JDK1.5以后的版本提供的跟annotation有关的接口:interface java.lang.reflect.AnnotatedElement { boolean isAnnotationPresent(Class<? extends Annotation> annotationClass); <T extends Annotation> T getAnnotation(Class<T> an... 阅220 转2 评0 公众公开 12-04-01 10:56 |
阅2288 转15 评0 公众公开 12-04-01 10:55 |