code: public static <T extends Annotation> T checkAnnotationPresent(AnnotatedElement annotatedType,
                                                                    Class<T> annotationClass) {
          return getAnnotation(annotatedType, annotationClass);
      }
docs: Check if the annotation is present and if not throws an exception,
  this is just an overload for more clear naming.
  
  @param annotatedType   The source type to tcheck the annotation on
  @param annotationClass The annotation to look for
  @param <T>             The annotation subtype
  @return The annotation that was requested
  @throws ODataSystemException If unable to find the annotation or nullpointer in case null source was specified