public static < A extends Annotation > boolean isAnnotationPresent ( Class < ? > clazz , Class < A > annotationType ) { if ( findAnnotation ( clazz , annotationType ) != null ) return true ; return false ; }
Verifies if an annotation is present at a class type hierarchy .