private static void attachRepositoryNames(Project project, final List<LookupElement> results, Map<String, String> entityNamespaces, final DoctrineTypes.Manager manager, final boolean useClassNameAsLookupString, final boolean isWeak) {
for(DoctrineModel doctrineModel: EntityHelper.getModelClasses(project, entityNamespaces)) {
String repositoryName = doctrineModel.getRepositoryName();
if(repositoryName != null) {
results.add(new DoctrineEntityLookupElement(repositoryName, doctrineModel.getPhpClass(), useClassNameAsLookupString, isWeak).withManager(manager));
}
}
}