ThreeState (@NotNull PsiElement contextElement, @NotNull PsiFile psiFile, int offset) { if (HtmlCompletionContributor.isHtmlElementInTextCompletionAutoPopupEnabledForFile(psiFile)) { return notAfterASpace(psiFile, offset); } return shouldSkipAutopopupInHtml(contextElement, offset) ? ThreeState.YES : ThreeState.UNSURE; }