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