code: public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
          Annotation value = annotations.get(annotationType);
          return annotationType.cast(value);
      }
docs: Find annotation with specified type into {@link #annotations}
  
  @param annotationType annotation type to find
  @return the first found annotation with specified type, of null if
  {@link #annotations} doesn't contains such