code: public static <T extends Annotation> T getAnnotation(AnnotatedElement annotatedType, Class<T> annotationClass) {
          return getAnnotation(annotatedType, annotationClass, null);
      }
docs: Small utility to easily get an annotation and will throw an exception if not provided.
  
  @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