void (CompletionResultSet result) { if (MavenServerManager.getInstance().isUseMaven2()) { result.addElement(LookupElementBuilder.create(RepositoryLibraryDescription.ReleaseVersionId).withStrikeoutness(true)); result.addElement(LookupElementBuilder.create(RepositoryLibraryDescription.LatestVersionId).withStrikeoutness(true)); } }