code: public static List<Link> getLinks(final AnnotatedElement annotatedElement) {
          final List<Link> result = new ArrayList<>();
          result.addAll(extractLinks(annotatedElement, io.qameta.allure.Link.class, ResultsUtils::createLink));
          result.addAll(extractLinks(annotatedElement, io.qameta.allure.Issue.class, ResultsUtils::createLink));
          result.addAll(extractLinks(annotatedElement, io.qameta.allure.TmsLink.class, ResultsUtils::createLink));
          return result;
      }
docs: Returns links created from Allure annotations specified on annotated element.
  
  @param annotatedElement the element to search annotations on.
  @return discovered links.