ThreeState (@NotNull PsiElement contextElement, @NotNull PsiFile psiFile, int offset) { final PsiElement literal = contextElement.getParent(); if (literal != null && (JavaReflectionReferenceContributor.Holder.PATTERN.accepts(literal) || JavaReflectionReferenceContributor.Holder.CLASS_PATTERN.accepts(literal))) { return ThreeState.NO; } return super.shouldSkipAutopopup(contextElement, psiFile, offset); }