Package jetbrains.mps.scope
Class EmptySearchScope
- java.lang.Object
 - 
- jetbrains.mps.smodel.BaseScope
 - 
- jetbrains.mps.scope.EmptySearchScope
 
 
 
- 
- All Implemented Interfaces:
 SearchScope
public final class EmptySearchScope extends BaseScope
Scope that knows nothing. Note, we've got few scopes and search scopes, namelyjetbrains.mps.scope.Scopefrom [kernel], openapiSearchScopeand deprecatedjetbrains.mps.smodel.search.ISearchScopefrom [kernel] as well. Unfortunately, all of them are in use now. All need an empty scope, and it's easy for names to clash. This class corresponds to openapi search scope instance.- Since:
 - 3.4
 
 
- 
- 
Constructor Summary
Constructors Constructor Description EmptySearchScope() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<SModel>getModels()Iterable<SModule>getModules()- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.jetbrains.mps.openapi.module.SearchScope
resolve 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getModules
@NotNull public Iterable<SModule> getModules()
- Specified by:
 getModulesin interfaceSearchScope- Specified by:
 getModulesin classBaseScope- Returns:
 - all modules 
jetbrains.mps.ide.findusages.findalgorithm.finders.Findershall look into for occurrences 
 
 - 
 
 -