code: static List<Annotation> getAnnotations(AnnotatedElement element, FindOption... findOptions) {
          requireNonNull(findOptions, "findOptions");
          return getAnnotations(element,
                                findOptions.length > 0 ? EnumSet.copyOf(ImmutableList.copyOf(findOptions))
                                                       : EnumSet.noneOf(FindOption.class));
      }
docs: Returns all annotations searching from the specified {@code element}. The search range depends on
  the specified {@link FindOption}s.
  
  @param element the {@link AnnotatedElement} to find annotations
  @param findOptions the options to be applied when retrieving annotations