LookupElementBuilder (final @NotNull PsiFile file, String name, Icon icon) { LookupElementBuilder builder = LookupElementBuilder.create(file, name).withIcon(icon); final String info = _getInfo(file); if (info != null) { return builder.withTailText(String.format(" (%s)", info), true); } return builder; }