use PsiFileGist instead of time-expensive indices for contract inference