1 7 8 package java.lang.reflect; 9 10 import java.lang.annotation.Annotation ; 11 12 38 public interface AnnotatedElement { 39 51 boolean isAnnotationPresent(Class <? extends Annotation > annotationType); 52 53 64 <T extends Annotation > T getAnnotation(Class <T> annotationType); 65 66 75 Annotation [] getAnnotations(); 76 77 88 Annotation [] getDeclaredAnnotations(); 89 } 90 | Popular Tags |