void (@NotNull MavenDomShortArtifactCoordinates coordinates, @NotNull CompletionResultSet result, @NotNull MavenRepositoryArtifactInfo item, @NotNull String completionPrefix) { result.addAllElements( ContainerUtil.map( item.getItems(), dci -> { final LookupElement lookup = MavenDependencyCompletionUtil.lookupElement(dci, dci.getVersion()); lookup.putUserData(MAVEN_COORDINATE_COMPLETION_PREFIX_KEY, completionPrefix); return lookup; } ) ); }