List (Object parent) { if (parent == myItems) return myItems; if (parent instanceof MavenArtifactSearchResult) { return Arrays.asList(((MavenArtifactSearchResult)parent).getSearchResults().getItems()); } return null; }