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;
    }
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 ; }
Returns links created from Allure annotations specified on annotated element.

@param annotatedElement the element to search annotations on.
@return discovered links.