public void add(List<PageElement> alternative) {
        if (alternative!=null)
            alternatives.add(new ArrayList<>(alternative));
    }
Convenience shorthand for <code>if (alternative!=null) alternatives().add(alternative)</code>
container-search/src/main/java/com/yahoo/search/pagetemplates/model/Choice.java