code: public <T extends Annotation> T getAnnotation(Class<T> type) {
      return member.getAnnotation(type);
    }
docs: Returns this member's annotation of the passed type or {@code null} if no
  matching annotation is present.
  
  @param type annotation type
  @return annotation instance or {@code null} if no matching annotation
  exists