Query<IndexPatternOccurrence> (@NotNull PsiFile file, @NotNull IndexPattern pattern) { final SearchParameters parameters = new SearchParameters(file, pattern); return getInstance().createQuery(parameters); }