boolean (final PsiFile file, final int offset) { PsiReference reference = file.findReferenceAt(offset); return reference instanceof PsiMultiReference ? ContainerUtil.exists(((PsiMultiReference)reference).getReferences(), JavadocCompletionConfidence::isKnownReference) : isKnownReference(reference); }