cleanup [java-completion]: Remove objectToLookupItem call

All the cases are actually covered above

GitOrigin-RevId: 137cde16f3752cbc45ec7c090c537688d8b5e6e5
This commit is contained in:
Tagir Valeev
2025-12-15 09:56:59 +00:00
committed by intellij-monorepo-bot
parent f386554c29
commit b19d370b89
@@ -574,7 +574,7 @@ public final class JavaCompletionUtil {
return Collections.singletonList(new PackageLookupItem((PsiPackage)completion, reference.getElement()));
}
return Collections.singletonList(LookupItemUtil.objectToLookupItem(completion));
return List.of();
}
public static boolean hasAccessibleConstructor(@NotNull PsiType type, @NotNull PsiElement place) {