code: @Deprecated
      public static <T extends Annotation> Class<T> classOf(Annotation annotation) {
          return (Class<T>) annotation.annotationType();
      }
docs: **Note** this method is deprecated. Please use {@link Annotation#annotationType} instead
  
  Returns the class of an annotation instance
  @param annotation the annotation instance
  @param <T> the generic type of the annotation
  @return the real annotation class