SearchScope (SearchScope originalScope) { FileType[] groovyEnabledFileTypes = GroovyFileType.getGroovyEnabledFileTypes(); return PsiSearchScopeUtil.restrictScopeTo(originalScope, groovyEnabledFileTypes); }