Class SearchObjectResolver.CompatibilityResolver
- java.lang.Object
 - 
- jetbrains.mps.ide.findusages.model.SearchObjectResolver.CompatibilityResolver
 
 
- 
- All Implemented Interfaces:
 SearchObjectResolver
- Enclosing interface:
 - SearchObjectResolver
 
public static final class SearchObjectResolver.CompatibilityResolver extends Object implements SearchObjectResolver
DO NOT USE THIS CLASS FOR ANY PURPOSE EXCEPT THE ONE IT HAS BEEN WRITTEN FOR, THE CLASS SHALL CEASE ONCE PROPER API IS IN PLACE. Provisional bridge betweenSearchScopeandSearchObjectResolver.resolve()methods inSearchScopeare ill-placed, and now are extracted intoSearchObjectResolver. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface jetbrains.mps.ide.findusages.model.SearchObjectResolver
SearchObjectResolver.BasicResolver, SearchObjectResolver.CompatibilityResolver 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CompatibilityResolver(SearchScope scope) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SModelresolve(SModelReference reference)Finder may use this method to go from model reference as a search value to SModel object.SNoderesolve(SNodeReference reference)Finder may use this method to go from model reference as a search value to SNode object.SModuleresolve(SModuleReference reference)Finder may use this method to go from module reference as a seatch value to SModule object. 
 - 
 
- 
- 
Constructor Detail
- 
CompatibilityResolver
public CompatibilityResolver(SearchScope scope)
 
 - 
 
- 
Method Detail
- 
resolve
@Nullable public SModel resolve(@NotNull SModelReference reference)
Description copied from interface:SearchObjectResolverFinder may use this method to go from model reference as a search value to SModel object. Find Usages client may use this method to limit what's visible/accessible to a Finder.- Specified by:
 resolvein interfaceSearchObjectResolver- Parameters:
 reference- model to resolve- Returns:
 - model instance, or 
nullif model with specified reference is not available 
 
- 
resolve
@Nullable public SModule resolve(@NotNull SModuleReference reference)
Description copied from interface:SearchObjectResolverFinder may use this method to go from module reference as a seatch value to SModule object. Find Usages client may use this method to limit what's visible/accessible to a Finder.- Specified by:
 resolvein interfaceSearchObjectResolver- Parameters:
 reference- module to resolve- Returns:
 - module instance, or 
nullif there's no such module 
 
- 
resolve
@Nullable public SNode resolve(@NotNull SNodeReference reference)
Description copied from interface:SearchObjectResolverFinder may use this method to go from model reference as a search value to SNode object. Find Usages client may use this method to limit what's visible/accessible to a Finder.- Specified by:
 resolvein interfaceSearchObjectResolver- Parameters:
 reference- node to resolve- Returns:
 - node instance of 
nullif the node is unknown 
 
 - 
 
 -