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