public static SuggestedItem build(SearchableModelObject searchContext, SearchItem si) {
        if (si instanceof Item) {
            return build(searchContext, (Item)si);
        }
        return new SuggestedItem(si);
    }
public static SuggestedItem build ( SearchableModelObject searchContext , SearchItem si ) { if ( si instanceof Item ) { return build ( searchContext , ( Item ) si ) ; } return new SuggestedItem ( si ) ; }
Given a SearchItem, builds a SuggestedItem hierarchy by looking up parent items (if applicable).
This allows search results for items not contained within the same {@link ItemGroup} to be distinguished.
If provided searchContext is null, results will be interpreted from the root {@link jenkins.model.Jenkins} object
@since 1.527