code: public static <T> T getAnnotation(final Class c, final Class<T> annotation) {
          final List<T> found = getAnnotations(c, annotation);
          if (found != null && !found.isEmpty()) {
              return found.get(0);
          } else {
              return null;
          }
      }
docs: Returns an annotation on a Class if present
  
  @param c          the class to examine
  @param annotation the annotation to find
  @param <T>        the type of the annotation
  @return the annotation.  may be null.