/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang.reflect; import java.lang.annotation.Annotation; public interface AnnotatedElement { boolean isAnnotationPresent(Class annotationType); T getAnnotation(Class annotationType); Annotation[] getAnnotations(); Annotation[] getDeclaredAnnotations(); }