Code example for AnnotatedElement

Methods: getAnnotation

0
 * Time: 1:44:52 AM 
 */ 
public class DeleteSqlOperation extends UpdateSqlOperation { 
    @Override 
    public void init(AnnotatedElement element, Annotation annotation) {
        Delete deleteAnnotation = element.getAnnotation(Delete.class);
        init(element, deleteAnnotation.value());
    } 
}