Code example for AnnotatedElement

Methods: getAnnotation, isAnnotationPresent