String (String query, LanguageFileType fileType) { final MatchOptions matchOptions = new MatchOptions(); matchOptions.fillSearchCriteria(query); matchOptions.setFileType(fileType); PatternCompiler.compilePattern(getProject(), matchOptions, true, true); return PatternCompiler.getLastSearchPlan(); }