Class SearchObjectResolver.CompatibilityResolver

    • Constructor Detail

      • CompatibilityResolver

        public CompatibilityResolver​(SearchScope scope)
    • Method Detail

      • resolve

        @Nullable
        public SModel resolve​(@NotNull
                              SModelReference reference)
        Description copied from interface: SearchObjectResolver
        Finder 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:
        resolve in interface SearchObjectResolver
        Parameters:
        reference - model to resolve
        Returns:
        model instance, or null if model with specified reference is not available
      • resolve

        @Nullable
        public SModule resolve​(@NotNull
                               SModuleReference reference)
        Description copied from interface: SearchObjectResolver
        Finder 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:
        resolve in interface SearchObjectResolver
        Parameters:
        reference - module to resolve
        Returns:
        module instance, or null if there's no such module
      • resolve

        @Nullable
        public SNode resolve​(@NotNull
                             SNodeReference reference)
        Description copied from interface: SearchObjectResolver
        Finder 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:
        resolve in interface SearchObjectResolver
        Parameters:
        reference - node to resolve
        Returns:
        node instance of null if the node is unknown