public static PsiReference[] restrict(FileReferenceSet set, final Condition<? super PsiFile> cond) {
    return restrict(set, cond, null);
  }
public static PsiReference[] restrict(FileReferenceSet set, final Condition<? super PsiFile> cond)