ThreeState (@NotNull PsiElement contextElement, @NotNull PsiFile psiFile, int offset) { VirtualFile file = psiFile.getViewProvider().getVirtualFile(); if (SingleRootFileViewProvider.isTooLargeForIntelligence(file)) { return ThreeState.YES; } return ThreeState.UNSURE; }