RunAnythingSearchListModel () { List<RunAnythingItem> items; RunAnythingSearchListModel model; if (RunAnythingPopupUI.isHelpMode(myPattern)) { model = new RunAnythingSearchListModel.RunAnythingHelpListModel(); items = buildHelpGroups((RunAnythingSearchListModel.RunAnythingHelpListModel)model); model.addAll(0, items); } else { model = new RunAnythingSearchListModel.RunAnythingMainListModel(); items = buildAllGroups(model); model.addAll(0, items); loadEntireSingleMatchedGroup(model, items); } return model; }